Hi,

If this is still relevant. The following dependencies belong together for:

NHibernate 2.1.2.4000

NHibernate.Linq 1.1.0.1001

NHibernate.ByteCode.Finfu 2.1.2.4000

LinFu.DynamicProxy 1.0.3.14911

Iesi.Collections 2.1.2.4000

 

This has been our setup since 2011

 

From: [email protected] <[email protected]> On Behalf Of FE 
UniPlan
Sent: Monday, 30 September 2024 16:21
To: nhusers <[email protected]>
Subject: [nhusers] NHibernate.ByteCode.LinFu

 

I recently ported an old project in visual studio 2010 that uses NHibernate to 
visual studio 2019. The project compiles fine but when using it I get the 
following error:

 

Unable to load type 'NHibernate.ByteCode.Castle.ProxyFactoryFactory, 
NHibernate.ByteCode.Castle' 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

 

I tried to load NHibernate.ByteCode.LinFu from nuget but although there are no 
explicit dependencies listed. I get the following error:

Severity Code Description Project File Line Status Delete
Error Could not install package 'NHibernate.ByteCode.LinFu 1.1.0'. You are 
trying to install it into a project that targets 
'.NETFramework,Version=v4.7.2', but the package does not contain references to 
assemblies or data files compatible with the framework. For more information, 
contact the package author.

How can I fix this?
Thank you.

 

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nhusers/68062a1d-2482-4720-87fc-a46baf2f26a2n%40googlegroups.com
 
<https://groups.google.com/d/msgid/nhusers/68062a1d-2482-4720-87fc-a46baf2f26a2n%40googlegroups.com?utm_medium=email&utm_source=footer>
 .

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nhusers/001001db13c9%24c4e5a460%244eb0ed20%24%40softworks.co.za.

Reply via email to