- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
这是我的第一个问题,因为我通常很擅长寻找自己的答案,我已经研究了几个小时了,但我很困惑 - 提前致谢!
在遵循 SO 和其他来源的许多指示之后
The located assembly's manifest definition does not match the assembly reference
我的项目在调试时仍然崩溃并出现异常:
无法加载文件或程序集“Blah.Blah.Common,Version=1.1.1.0,Culture=neutral,PublicKeyToken=2814cfce0563e70d”或其依赖项之一。找到的程序集的 list 定义与程序集引用不匹配。 (HRESULT 异常:0x80131040)
第一次调用检索实体时发生异常:
Dim so As SomeObject = db.SomeObject.First
最近,我不得不重建删除签名的 DLL,并将构建版本增加到 1.2.0.0,因此调用该版本是没有意义的。
我已经多次研究该解决方案,试图找到不匹配的引用但没有成功。
使用以下指令链接查看 Fusion 日志错误,我发现调用程序集是 Entity Framework,如下所示:
https://blogs.msdn.microsoft.com/junfeng/2004/02/14/fusion-binding-log-and-fuslogvw-exe/
*** Assembly Binder Log Entry (6/06/2018 @ 10:19:42 PM) ***
The operation failed.
Bind result: hr = 0x80131040. No description available.
Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Running under executable D:\Users\me\source\Workspaces\some_application\bin\Debug\some_application.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: DisplayName = Blah.Blah.Common, Version=1.1.1.0, Culture=neutral, PublicKeyToken=2814cfce0563e70d
(Fully-specified)
LOG: Appbase = file:///D:/Users/me/source/Workspaces/some_application/bin/Debug/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = some_application.exe
Calling assembly : EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: D:\Users\me\source\Workspaces\some_application\bin\Debug\some_application.exe.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Blah.Blah.Common, Version=1.1.1.0, Culture=neutral, PublicKeyToken=2814cfce0563e70d
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///D:/Users/me/source/Workspaces/some_application/bin/Debug/Blah.Blah.Common.DLL.
LOG: Assembly download was successful. Attempting setup of file: D:\Users\me\source\Workspaces\some_application\bin\Debug\Blah.Blah.Common.dll
LOG: Entering run-from-source setup phase.
LOG: Assembly Name is: Blah.Blah.Common, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
WRN: Comparing the assembly name resulted in the mismatch: Minor Version
ERR: The assembly reference did not match the assembly definition found.
ERR: Run-from-source setup phase failed with hr = 0x80131040.
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.ted.
EntityFramework 如何绑定(bind)到我的 DLL 的旧引用?
编辑:在下面添加了 AsmSpy 输出,所有引用似乎都是有序的,因为错误的引用在 app.config 中具有绑定(bind)重定向。
Detailing only conflicting assembly references.
Reference: Microsoft.CSharp
Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll
4.0.0.0 by EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
4.0.0.0 by EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
4.0.0.0 by System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Reference: Microsoft.Owin
Microsoft.Owin, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Source: NotFound
2.1.0.0 by Microsoft.AspNet.Identity.Owin, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Owin, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Source: Local, Location: D:\Users\jai.eldridge\source\Workspaces\PSA Business Group\PSA-Platform\PSA.Platform\PSA.Platform.WIndows.OutboundBridge.Console\bin\Debug\Microsoft.Owin.dll
3.1.0.0 by Microsoft.Owin.Security, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
3.1.0.0 by Microsoft.Owin.Security.Cookies, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
3.1.0.0 by Microsoft.Owin.Security.OAuth, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
3.1.0.0 by PSA.Platform.Common, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
Reference: Microsoft.Owin.Security
Microsoft.Owin.Security, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Source: NotFound
2.1.0.0 by Microsoft.AspNet.Identity.Owin, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Owin.Security, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Source: Local, Location: D:\Users\jai.eldridge\source\Workspaces\PSA Business Group\PSA-Platform\PSA.Platform\PSA.Platform.WIndows.OutboundBridge.Console\bin\Debug\Microsoft.Owin.Security.dll
3.1.0.0 by Microsoft.Owin.Security.Cookies, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
3.1.0.0 by Microsoft.Owin.Security.OAuth, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
3.1.0.0 by PSA.Platform.Common, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
Reference: Microsoft.Owin.Security.Cookies
Microsoft.Owin.Security.Cookies, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Source: NotFound
2.1.0.0 by Microsoft.AspNet.Identity.Owin, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Owin.Security.Cookies, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Source: Local, Location: D:\Users\jai.eldridge\source\Workspaces\PSA Business Group\PSA-Platform\PSA.Platform\PSA.Platform.WIndows.OutboundBridge.Console\bin\Debug\Microsoft.Owin.Security.Cookies.dll
Reference: Microsoft.Owin.Security.OAuth
Microsoft.Owin.Security.OAuth, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Source: NotFound
2.1.0.0 by Microsoft.AspNet.Identity.Owin, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Microsoft.Owin.Security.OAuth, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Source: Local, Location: D:\Users\jai.eldridge\source\Workspaces\PSA Business Group\PSA-Platform\PSA.Platform\PSA.Platform.WIndows.OutboundBridge.Console\bin\Debug\Microsoft.Owin.Security.OAuth.dll
Reference: Microsoft.VisualBasic
Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll
10.0.0.0 by PSA.Platform.Common, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
10.0.0.0 by PSA.Platform.Windows.OutboundBridge.Console, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Reference: mscorlib
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source: GlobalAssemblyCache, Location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll
2.0.0.0 by CargoWise.eHub.Adapter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4f570df270576350
2.0.0.0 by CargoWise.eHub.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4f570df270576350
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source: GlobalAssemblyCache, Location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll
4.0.0.0 by EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
4.0.0.0 by EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
4.0.0.0 by log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a
4.0.0.0 by Microsoft.AspNet.Identity.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Microsoft.AspNet.Identity.EntityFramework, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Microsoft.AspNet.Identity.Owin, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Microsoft.Owin, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Microsoft.Owin.Security, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Microsoft.Owin.Security.Cookies, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Microsoft.Owin.Security.OAuth, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
4.0.0.0 by Owin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f0ebd12fd5e55cc5
4.0.0.0 by PSA.Platform.Common, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
4.0.0.0 by PSA.Platform.Windows.OutboundBridge.Console, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
4.0.0.0 by System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Reference: Newtonsoft.Json
Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
Source: NotFound
6.0.0.0 by Microsoft.Owin.Security.OAuth, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
Source: Local, Location: D:\Users\jai.eldridge\source\Workspaces\PSA Business Group\PSA-Platform\PSA.Platform\PSA.Platform.WIndows.OutboundBridge.Console\bin\Debug\Newtonsoft.Json.dll
Reference: System
System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source: GlobalAssemblyCache, Location: C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll
2.0.0.0 by CargoWise.eHub.Adapter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4f570df270576350
2.0.0.0 by CargoWise.eHub.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4f570df270576350
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
4.0.0.0 by EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
4.0.0.0 by EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
4.0.0.0 by log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a
4.0.0.0 by Microsoft.AspNet.Identity.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Microsoft.AspNet.Identity.EntityFramework, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Microsoft.Owin, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Microsoft.Owin.Security, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Microsoft.Owin.Security.Cookies, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Microsoft.Owin.Security.OAuth, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
4.0.0.0 by PSA.Platform.Common, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
4.0.0.0 by PSA.Platform.Windows.OutboundBridge.Console, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
4.0.0.0 by System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Reference: System.ComponentModel.DataAnnotations
System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll
4.0.0.0 by EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
4.0.0.0 by PSA.Platform.Common, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
4.0.0.0 by System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Reference: System.Configuration
System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
4.0.0.0 by EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
4.0.0.0 by log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a
4.0.0.0 by Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by PSA.Platform.Common, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
4.0.0.0 by System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Reference: System.Core
System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source: GlobalAssemblyCache, Location: C:\WINDOWS\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll
3.5.0.0 by CargoWise.eHub.Adapter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4f570df270576350
3.5.0.0 by CargoWise.eHub.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4f570df270576350
System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
4.0.0.0 by EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
4.0.0.0 by EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
4.0.0.0 by log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a
4.0.0.0 by Microsoft.AspNet.Identity.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Microsoft.AspNet.Identity.EntityFramework, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Microsoft.AspNet.Identity.Owin, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Microsoft.Owin, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Microsoft.Owin.Security, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Microsoft.Owin.Security.Cookies, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
4.0.0.0 by PSA.Platform.Common, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
4.0.0.0 by System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Reference: System.Data
System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
4.0.0.0 by EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
4.0.0.0 by EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
4.0.0.0 by log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a
4.0.0.0 by Microsoft.AspNet.Identity.EntityFramework, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
4.0.0.0 by PSA.Platform.Common, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
Reference: System.Data.Entity
System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Data.Entity\v4.0_4.0.0.0__b77a5c561934e089\System.Data.Entity.dll
4.0.0.0 by System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Reference: System.Data.Linq
System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Data.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Data.Linq.dll
4.0.0.0 by System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Reference: System.Drawing
System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll
4.0.0.0 by System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Reference: System.IdentityModel
System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll
4.0.0.0 by Microsoft.Owin.Security, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by PSA.Platform.Common, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
Reference: System.Numerics
System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll
4.0.0.0 by Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
Reference: System.Runtime.Caching
System.Runtime.Caching, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Caching\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.Caching.dll
4.0.0.0 by System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Reference: System.Runtime.Serialization
System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source: GlobalAssemblyCache, Location: C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll
3.0.0.0 by CargoWise.eHub.Adapter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4f570df270576350
3.0.0.0 by CargoWise.eHub.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4f570df270576350
System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll
4.0.0.0 by EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
4.0.0.0 by Microsoft.Owin.Security.Cookies, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
4.0.0.0 by PSA.Platform.Common, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
Reference: System.Security
System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Security\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Security.dll
4.0.0.0 by Microsoft.Owin.Security, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Reference: System.ServiceModel
System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source: GlobalAssemblyCache, Location: C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll
3.0.0.0 by CargoWise.eHub.Adapter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4f570df270576350
3.0.0.0 by CargoWise.eHub.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4f570df270576350
System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll
4.0.0.0 by PSA.Platform.Common, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
Reference: System.Transactions
System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll
4.0.0.0 by EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Reference: System.Web
System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll
4.0.0.0 by log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a
4.0.0.0 by Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by PSA.Platform.Common, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
4.0.0.0 by System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
4.0.0.0 by System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Reference: System.Web.Extensions
System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll
4.0.0.0 by System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Reference: System.Xml
System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source: GlobalAssemblyCache, Location: C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll
2.0.0.0 by CargoWise.eHub.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4f570df270576350
System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
4.0.0.0 by EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
4.0.0.0 by EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
4.0.0.0 by log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a
4.0.0.0 by Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
4.0.0.0 by PSA.Platform.Common, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
4.0.0.0 by System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Reference: System.Xml.Linq
System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Source: GlobalAssemblyCache, Location: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll
4.0.0.0 by EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
4.0.0.0 by Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
4.0.0.0 by System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
最佳答案
我最终从头开始重新构建整个通用 DLL 项目(作为“共享”),复制文件,通过“添加现有项”将所有文件添加回项目,安装最新的将所有 nuGet 包的版本设置为“Shared”,在控制台应用程序中取消引用“Common”并引用“Shared”,清理解决方案,包括删除 ./bin 和 ./obj 目录,重新编译和测试 - 一切正常没有编译或运行时错误。
我这辈子都无法弄清楚 Entity Framework 在何处寻找错误版本的 Blah.Blah.Common 的错误引用,但从头开始似乎已经解决了它。
关于c# - EntityFramework 引用回调用方 - 找到的程序集的 list 定义与程序集引用不匹配,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50721113/
使用sed和/或awk,仅在行包含字符串“ foo”并且行之前和之后的行分别包含字符串“ bar”和“ baz”时,我才希望删除行。 因此,对于此输入: blah blah foo blah bar
例如: S1: "some filename contains few words.txt" S2:“一些文件名包含几个单词 - draft.txt” S3:“一些文件名包含几个单词 - 另一个 dr
我正在尝试处理一些非常困惑的数据。我需要通过样本 ID 合并两个包含不同类型数据的大数据框。问题是一张表的样本 ID 有许多不同的格式,但大多数都包含用于匹配其 ID 中某处所需的 ID 字符串,例如
我想在匹配特定屏幕尺寸时显示特定图像。在这种情况下,对于 Bootstrap ,我使用 col-xx-## 作为我的选择。但似乎它并没有真正按照我认为应该的方式工作。 基本思路,我想显示一种全屏图像,
出于某种原因,这条规则 RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*
我想做类似的东西(Nemerle 语法) def something = match(STT) | 1 with st= "Summ" | 2 with st= "AVG" =>
假设这是我的代码 var str="abc=1234587;abc=19855284;abc=1234587;abc=19855284;abc=1234587;abc=19855284;abc=123
我怎样才能得到这个字符串的数字:'(31.5393701, -82.46235569999999)' 我已经在尝试了,但这离解决方案还很远:) text.match(/\((\d+),(\d+)\)/
如何去除输出中的逗号 (,)?有没有更好的方法从字符串或句子中搜索 url。 alert(" http://www.cnn.com df".match(/https?:\/\/([-\w\.]+
a = ('one', 'two') b = ('ten', 'ten') z = [('four', 'five', 'six'), ('one', 'two', 'twenty')] 我正在尝试
我已经编写了以下代码,我希望用它来查找从第 21 列到另一张表中最后一行的值,并根据这张表中 A 列和另一张表中 B 列中的值将它们返回到这张表床单。 当我使用下面的代码时,我得到一个工作表错误。你能
我在以下结构中有两列 A B 1 49 4922039670 我已经能够评估 =LEN(A1)如2 , =LEFT(B1,2)如49 , 和 =LEFT(B1,LEN(A1)
我有一个文件,其中一行可以以 + 开头, -或 * .在其中一些行之间可以有以字母或数字(一般文本)开头的行(也包含这些字符,但不在第 1 列中!)。 知道这一点,设置匹配和突出显示机制的最简单方法是
我有一个数据字段文件,其中可能包含注释,如下所示: id, data, data, data 101 a, b, c 102 d, e, f 103 g, h, i // has to do with
我有以下模式:/^\/(?P.+)$/匹配:/url . 我的问题是它也匹配 /url/page ,如何忽略/在这个正则表达式中? 该模式应该: 模式匹配:/url 模式不匹配:/url/page 提
我有一个非常庞大且复杂的数据集,其中包含许多对公司的观察。公司的一些观察是多余的,我需要制作一个键来将多余的观察映射到一个单独的观察。然而,判断他们是否真的代表同一家公司的唯一方法是通过各种变量的相似
我有以下 XML A B C 我想查找 if not(exists(//Record/subRecord
我制作了一个正则表达式来验证潜在的比特币地址,现在当我单击报价按钮时,我希望根据正则表达式检查表单中输入的值,但它不起作用。 https://jsfiddle.net/arkqdc8a/5/ var
我有一些 MS Word 文档,我已将其全部内容转移到 SQL 表中。 内容包含多个方括号和大括号,例如 [{a} as at [b],] {c,} {d,} etc 我需要进行检查以确保括号平衡/匹
我正在使用 Node.js 从 XML 文件读取数据。但是当我尝试将文件中的数据与文字进行比较时,它不匹配,即使它看起来相同: const parser: xml2js.Parser = new
我是一名优秀的程序员,十分优秀!