1)异常详细信息: System.IO.FileLoadException:无法加载文件或程序集System.Web.Helpers或其依赖项之一。定位的程序集的清单定义与程序集引用不匹配。 (HRESULT异常:0x80131040) 有时候它的射击低于异常: 2)无法加载文件或程序集'System.Web .WebPages.Razor, 我尝试过: 我在运行时使用visual studio 2015框架。 用下面的程序集检查。 < dependentAssembly> < assemblyIdentity name =System.Web.HelperspublicKeyToken =31bf3856ad364e35 /> < bindingRedirect oldVersion =0.0.0.0-2.0.0.0newVersion =1.0.0.0/> < / dependentAssembly> < dependentAssembly> < assemblyIdentity name =System.Web.MvcpublicKeyToken =31bf3856ad364e35/> < bindingRedirect oldVersion =1.0.0.0-4.0.0.0newVersion =4.0.0.0/> < / dependentAssembly> 我还检查了几个与此异常相关的线程,但未找到结果。请检查以下异常并提前给出解决方案。
1)Exception Details: System.IO.FileLoadException: Could not load file or assembly 'System.Web.Helpers' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Some times its shooting below exception: 2)Could not load file or assembly 'System.Web.WebPages.Razor, What I have tried: I'm using visual studio 2015 framework while in runtime. checked with below assemblies. <dependentAssembly> <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="1.0.0.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="1.0.0.0-4.0.0.0" newVersion="4.0.0.0" /> </dependentAssembly> I also checked several threads related to this exception however not found results. Please check below exceptions and give solutions thanks in advance.
推荐答案右键单击并查看参考文献中可用的Dll属性。 Right click and look in to the properties on the Dll available in references.
更多推荐
无法加载文件或程序集“system.web.helpers”或其依赖项之一
发布评论