我在项目中使用了PostSharp 4.2.22.0和Owin 3.0.1。编译时出现以下错误:
Unhandled exception (4.2.22.0, postsharp-net40-x86-srv.exe, CLR 4.0.30319.394271, Release): PostSharp.Sdk.CodeModel.AssemblyLoadException: 找不到程序集 'microsoft.owin.security, version=2.1.0.0, culture=neutral, publickeytoken=31bf3856ad364e35'。[版本不匹配]
但是PostSharp和Owin有什么关系呢?为什么Owin的版本对于PostSharp很重要呢?这两个是完全不同的包。
Unhandled exception (4.2.22.0, postsharp-net40-x86-srv.exe, CLR 4.0.30319.394271, Release): PostSharp.Sdk.CodeModel.AssemblyLoadException: 找不到程序集 'microsoft.owin.security, version=2.1.0.0, culture=neutral, publickeytoken=31bf3856ad364e35'。[版本不匹配]
但是PostSharp和Owin有什么关系呢?为什么Owin的版本对于PostSharp很重要呢?这两个是完全不同的包。