forked from hibernating-rhinos/rhino-security
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request hibernating-rhinos#1 from mesbahamin/master
Get Rhino.Security working with .NET 4.7, VS 2017, and NHibernate 5.0
- Loading branch information
Showing
178 changed files
with
419 additions
and
152,094 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
*resharper.user | ||
[Dd]ebug/ | ||
[Rr]elease/ | ||
.vs/ | ||
build/ | ||
[Bb]in/ | ||
[Dd]ebug/ | ||
[Oo]bj/ | ||
*.suo | ||
*.sln.cache | ||
Packages/* | ||
[Rr]elease/ | ||
_ReSharper.*/ | ||
AssemblyInfo.cs | ||
|
||
*resharper.user | ||
*.sln.cache | ||
*.suo | ||
*.user | ||
|
||
AssemblyInfo.cs | ||
/Rhino.Security/Rhino.Security.xml | ||
/Rhino.Security/Rhino.Security.XML | ||
/Rhino.Security/Rhino.Security.XML |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<runtime> | ||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
<dependentAssembly> | ||
<assemblyIdentity name="NHibernate" publicKeyToken="aa95f207798dfdb4" culture="neutral" /> | ||
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" /> | ||
</dependentAssembly> | ||
<dependentAssembly> | ||
<assemblyIdentity name="Iesi.Collections" publicKeyToken="aa95f207798dfdb4" culture="neutral" /> | ||
<bindingRedirect oldVersion="0.0.0.0-4.0.0.4000" newVersion="4.0.0.4000" /> | ||
</dependentAssembly> | ||
<dependentAssembly> | ||
<assemblyIdentity name="Castle.Core" publicKeyToken="407dd0808d44fbdc" culture="neutral" /> | ||
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" /> | ||
</dependentAssembly> | ||
</assemblyBinding> | ||
</runtime> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Antlr" version="3.1.3.42154" /> | ||
<package id="Castle.Activerecord" version="3.0.0.1" /> | ||
<package id="Castle.Components.Validator" version="2.5.0" /> | ||
<package id="Castle.Core" version="2.5.2" /> | ||
<package id="Castle.Core" version="3.1.0" targetFramework="net35" /> | ||
<package id="Iesi.Collections" version="1.0.1" /> | ||
<package id="Iesi.Collections" version="3.3.1.4000" targetFramework="net35" /> | ||
<package id="NHibernate" version="3.0.0.4000" /> | ||
<package id="NHibernate" version="3.3.1.4000" targetFramework="net35" /> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Antlr" version="3.5.0.2" targetFramework="net47" /> | ||
<package id="Antlr3.Runtime" version="3.5.1" targetFramework="net47" /> | ||
<package id="Castle.Activerecord" version="3.0.0.1" targetFramework="net47" /> | ||
<package id="Castle.Components.Validator" version="2.5.0" targetFramework="net47" /> | ||
<package id="Castle.Core" version="4.2.1" targetFramework="net47" /> | ||
<package id="Iesi.Collections" version="4.0.3" targetFramework="net47" /> | ||
<package id="NHibernate" version="5.0.3" targetFramework="net47" /> | ||
<package id="Remotion.Linq" version="2.1.2" targetFramework="net47" /> | ||
<package id="Remotion.Linq.EagerFetching" version="2.1.0" targetFramework="net47" /> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,59 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<configSections> | ||
<section name="activerecord" type="Castle.ActiveRecord.Framework.Config.ActiveRecordSectionHandler, Castle.ActiveRecord" /> | ||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/> | ||
</configSections> | ||
<connectionStrings> | ||
<add name="test" connectionString="Data Source=localhost; Initial Catalog=test;Integrated Security=SSPI" /> | ||
</connectionStrings> | ||
<activerecord | ||
pluralizeTableNames="true" | ||
default-lazy="true" | ||
threadinfotype="Castle.ActiveRecord.Framework.Scopes.HybridWebThreadScopeInfo, Castle.ActiveRecord"> | ||
<config> | ||
<add key='proxyfactory.factory_class' | ||
value='NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle'/> | ||
<add key="connection.driver_class" value="NHibernate.Driver.SqlClientDriver" /> | ||
<add key="dialect" value="NHibernate.Dialect.MsSql2005Dialect" /> | ||
<add key="connection.provider" value="NHibernate.Connection.DriverConnectionProvider" /> | ||
<add key="connection.connection_string_name" value="test" /> | ||
<add key="adonet.batch_size" value="15" /> | ||
</config> | ||
</activerecord> | ||
<log4net> | ||
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%date{HH:mm:ss.ffff}|%-5level|%-2thread|%logger|%message%newline" /> | ||
</layout> | ||
</appender> | ||
<appender name="DebugAppender" type="log4net.Appender.DebugAppender"> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%date{HH:mm:ss.ffff}|%-5level|%-2thread|%logger|%message%newline" /> | ||
</layout> | ||
</appender> | ||
<root> | ||
<level value="DEBUG" /> | ||
<appender-ref ref="ConsoleAppender" /> | ||
</root> | ||
<logger name="NHibernate"> | ||
<level value="DEBUG" /> | ||
</logger> | ||
</log4net> | ||
<configSections> | ||
<section name="activerecord" type="Castle.ActiveRecord.Framework.Config.ActiveRecordSectionHandler, Castle.ActiveRecord" /> | ||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> | ||
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> | ||
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> | ||
</configSections> | ||
<connectionStrings> | ||
<add name="test" connectionString="Data Source=localhost; Initial Catalog=test;Integrated Security=SSPI" /> | ||
</connectionStrings> | ||
<activerecord pluralizeTableNames="true" default-lazy="true" threadinfotype="Castle.ActiveRecord.Framework.Scopes.HybridWebThreadScopeInfo, Castle.ActiveRecord"> | ||
<config> | ||
<add key="proxyfactory.factory_class" value="NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle" /> | ||
<add key="connection.driver_class" value="NHibernate.Driver.SqlClientDriver" /> | ||
<add key="dialect" value="NHibernate.Dialect.MsSql2005Dialect" /> | ||
<add key="connection.provider" value="NHibernate.Connection.DriverConnectionProvider" /> | ||
<add key="connection.connection_string_name" value="test" /> | ||
<add key="adonet.batch_size" value="15" /> | ||
</config> | ||
</activerecord> | ||
<log4net> | ||
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%date{HH:mm:ss.ffff}|%-5level|%-2thread|%logger|%message%newline" /> | ||
</layout> | ||
</appender> | ||
<appender name="DebugAppender" type="log4net.Appender.DebugAppender"> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%date{HH:mm:ss.ffff}|%-5level|%-2thread|%logger|%message%newline" /> | ||
</layout> | ||
</appender> | ||
<root> | ||
<level value="DEBUG" /> | ||
<appender-ref ref="ConsoleAppender" /> | ||
</root> | ||
<logger name="NHibernate"> | ||
<level value="DEBUG" /> | ||
</logger> | ||
</log4net> | ||
<startup> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7" /> | ||
</startup> | ||
<entityFramework> | ||
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> | ||
<providers> | ||
<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" /> | ||
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> | ||
</providers> | ||
</entityFramework> | ||
<system.data> | ||
<DbProviderFactories> | ||
<remove invariant="System.Data.SQLite.EF6" /> | ||
<add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" /> | ||
<remove invariant="System.Data.SQLite" /> | ||
<add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /> | ||
</DbProviderFactories> | ||
</system.data> | ||
</configuration> |
Oops, something went wrong.