c# - Need help with NHibernate assembly version issue. Error with loading the correct assembly version -
note I stopped localizing my second ticket. I have a problem like I see that after using a newgate to set up FluentNewernet near another poster: Error < / P> I saw that the stack overlays answered and answered on other blogs: However, it has not resolved my problem and all the results of running that command are: When I am setting up Fluent Enhnernet from Newgate, it says that its dependencies are 3.0.0.2001 Nhibernate but it installs Nhibernate 3.0.0.4000 What am I doing wrong? I can not comment on the specific problem with NuGet but you can redirect your app to an assembly binding Should be able to get the error by adding .config or web.config. You may be able to check public key points. Redirect all requests from 2001 to 4000
The file or assembly could not be loaded 'clear definition of assembly located in one of NHibernate, version = 3.0.0.2001, culture = neutral, public key token = AAFFFFFX 777DDDA4' or its dependency Assembly does not match reference . (HRESULT: Exception from 0x80131040)
add-binding redirect < / Pre>
PM> Ed-Binding Redirection Name Oldversion Newversion ---- ---------- ---------- NHibernate 0.0.0.0-3.0.0.4000 3.0.0.4000
& lt; Configuration & gt; & Lt; Order & gt; & Lt; Assembly binding xmlns = "karash: schema-microsoft-com: asm.v1" & gt; & Lt; DependentAssembly & gt; & Lt; Assembly Identification Name = "Nurbinate" PublicKoken = "AAMFFFXX" /> & lt; Compulsive redirects older version = "3.0.0.2001" newVersion = "3.0.0.4000" /> & Lt; / DependentAssembly & gt; & Lt; / AssemblyBinding & gt; & Lt; / Order & gt; & Lt; / Configuration & gt;
Comments
Post a Comment