Hi,
I got the latest src of nhibernate-core to get familiar/investigate
how things works under the hood. I ran build script and now trying to
run NHibernate.Example.Web app.  I get the following error:
#####################
Could not load file or assembly 'NHibernate.ByteCode.LinFu' or one of
its dependencies. The system cannot find the file specified.

[FileNotFoundException: Could not load file or assembly
'NHibernate.ByteCode.LinFu' or one of its dependencies. The system
cannot find the file specified.]
   System.Reflection.Assembly._nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, Assembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection) +0
   System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, Assembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection) +43
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection) +127
   System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection) +142
   System.Reflection.Assembly.Load(String assemblyString) +28
 
NHibernate.Util.ReflectHelper.TypeFromAssembly(AssemblyQualifiedTypeName
name, Boolean throwOnError) in D:\Projects\nhibernate-core\src
\NHibernate\Util\ReflectHelper.cs:307
   NHibernate.Util.ReflectHelper.ClassForName(String name) in D:
\Projects\nhibernate-core\src\NHibernate\Util\ReflectHelper.cs:181
 
NHibernate.Bytecode.AbstractBytecodeProvider.SetProxyFactoryFactory(String
typeName) in D:\Projects\nhibernate-core\src\NHibernate\Bytecode
\AbstractBytecodeProvider.cs:71

[UnableToLoadProxyFactoryFactoryException: Unable to load type
'NHibernate.ByteCode.LinFu.ProxyFactoryFactory,
NHibernate.ByteCode.LinFu' during configuration of proxy factory
class.
Possible causes are:
- The NHibernate.Bytecode provider assembly was not deployed.
- The typeName used to initialize the 'proxyfactory.factory_class'
property of the session-factory section is not well formed.

Solution:
Confirm that your deployment folder contains one of the following
assemblies:
NHibernate.ByteCode.LinFu.dll
NHibernate.ByteCode.Castle.dll]
 
NHibernate.Bytecode.AbstractBytecodeProvider.SetProxyFactoryFactory(String
typeName) in D:\Projects\nhibernate-core\src\NHibernate\Bytecode
\AbstractBytecodeProvider.cs:75
   NHibernate.Cfg.Configuration.ConfigureProxyFactoryFactory() in D:
\Projects\nhibernate-core\src\NHibernate\Cfg\Configuration.cs:1234
   NHibernate.Cfg.Configuration.BuildSessionFactory() in D:\Projects
\nhibernate-core\src\NHibernate\Cfg\Configuration.cs:1248
   NHibernate.Example.Web.ExampleApplication..cctor() in d:\Projects
\nhibernate-core\src\NHibernate.Example.Web\App_Code
\ExampleApplication.cs:27

####################

I published the site to its default publish folder src\PrecompiledWeb.
I also added LinFu.DynamicProxy.dll to lib\net\3.5 but no results.
Can you please advise?

Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en.

Reply via email to