我在我的項目中使用PostSharp 4.2.22.0和Owin 3.0.1。文章檔案OWIN Version Mismatch
我編譯時出現以下錯誤:
Unhandled exception (4.2.22.0, postsharp-net40-x86-srv.exe, CLR
4.0.30319.394271, Release): PostSharp.Sdk.CodeModel.AssemblyLoadException: Cannot find assembly 'microsoft.owin.security, version=2.1.0.0, culture=neutral, publickeytoken=31bf3856ad364e35'. [Version mismatch]
但沒有PostSharp有Owin辦?爲什麼Owin版本對PostSharp很重要,這是兩個完全不同的軟件包。
的可能的複製[與PostSharp問題找不到system.web.mvc,版本裝配= 3.0.0.0當沒有項目中引用它(HTTP:/ /stackoverflow.com/questions/26146922/issue-with-postsharp-cannot-find-assembly-for-system-web-mvc-version-3-0-0-wh) –