I'm getting an exception at the following line using the r453
binaries:
_sessionFactory = Fluently.Configure()
.Database
(SQLiteConfiguration.Standard.UsingFile("nhibernate.db"))
.Mappings(m =>
m.FluentMappings.AddFromAssemblyOf<Product>())
.ExposeConfiguration(BuildSchema)
.BuildSessionFactory();
Main Exception: "An invalid or incomplete configuration was used while
creating a SessionFactory. Check PotentialReasons collection, and
InnerException for more detail."
InnerException: {"Could not load file or assembly
'Castle.DynamicProxy2, Version=2.0.3.0, Culture=neutral,
PublicKeyToken=407dd0808d44fbdc' or one of its dependencies. The
system cannot find the file specified.":"Castle.DynamicProxy2,
Version=2.0.3.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc"}
{"The type initializer for
'NHibernate.Proxy.Poco.Castle.CastleProxyFactory' threw an
exception."}
I checked, and I am referencing the correct Castle.DynamicProxy2 dll
file. It is being output to my bin folder. Does anybody have any
suggestions?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---