c# - Add-BindingRedirect not resolving NuGet vs issue -
I'm having a problem like I think the other poster to use Nugate to install FluNet Newbernet The file or assembly could not be loaded: 'NHibernate, version = 3.0.0.2001, culture ='
error Neutral, Public Key Token = AAA 9 52020989 FADB 4 'or its dependency is a clear definition of the assembly located from the assembly reference Ell does not eat. (HRESULT: Exception from 0x80131040) 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? Update I think it adds the following section to the node: However, I still get the same error that does not look right if Fluent 3.0.0.2001 and NHibernate 3.0.0.4000 were being installed, this binding redirect does not seem right to me. is. In order to be as specific as possible, I used to use Nugget to install Flint Nubbernet in my web project and test for the C # Library Project. Then run a test using NUnit which continues to me this error. The right command is to run an add-binding redirect, and you have an option that is expected She goes. After running it, you should see some binding redirect guidelines in your web.config (or app.config). can you please confirm? The assembly will then be allowed to be loaded, though FluNet NH has demanded the old construction of NHibernate. If that does not work for you, please see more details in your question about what you are doing, like the complete sequence of steps to see the error reported by you ( Starting with the construction of the project).
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; DependantAssembly & gt; & Lt; Assembly ID name = "NHibernate" publicKeyToken = "aa95f207798dfdb4" culture = "neutral" /> & Lt; Binding Redirect Old Version = "0.0.0.0-3.0.0.4000" newVersion = "3.0.0.4000" /> & Lt; / DependentAssembly & gt;
Comments
Post a Comment