[英]bindingRedirect is not working with Visual Studio 2012 Test Projects?
I have just created an ASP.NET MVC 4 app with a Visual Studio 2012 Test applicaton. 我刚刚使用Visual Studio 2012测试应用程序创建了一个ASP.NET MVC 4应用程序。 Then I have add some bindingRedirect like, 然后我添加了一些bindingRedirect,
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="*****" publicKeyToken="*****"/>
<bindingRedirect oldVersion="*.*.*.*-*.*.*.*" newVersion="*.*.*.*"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
Tested the same in console application works but not work when I run Visual Stdio 2012 Test Project. 在控制台应用程序中测试相同,但在运行Visual Stdio 2012 Test Project时不起作用。
I had the same issue. 我遇到过同样的问题。 It seems to be patch with VS2012 Update 3 (the update 2 still has the bug) 似乎是VS2012 Update 3的补丁程序(更新2仍然存在错误)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.