2
我有幾個項目的解決方案。我將Fluent nHibernate的幾個引用改爲NuGet包(v1.3.0.717)。最近,我改變了另一個項目,並添加了當前的流利包,1.2.0.712(早些時候但最新),我的應用程序將生成但不能運行。目前的版本指向nHibernate v3.1.0.4,但它與vluent引用的早期版本v3.2.9.4000衝突。流利的NuGet搞砸了
Inner Exception
{"Could not load file or assembly 'NHibernate, Version=3.1.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its dependencies.
The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)":"
NHibernate, Version=3.1.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4"}
Exception
Could not load file or assembly 'NHibernate, Version=3.2.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its dependencies.
The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
我該怎麼做才能清理這個項目並讓它重新運行?
非常感謝,解決了這個問題。我試過這個,但一定錯過了一個項目,因爲我得到了相反的結果「試圖加載3.2.4,但發現3.1.0」確保每個項目都設置正確。 – strattonn 2012-03-06 15:54:44
這是否意味着包裝出版商的錯誤? – 2012-12-14 00:23:42
是的,但它已經修復。 – Sly 2012-12-15 13:12:23