I have just created an ASP.NET MVC 4 app with a Visual Studio 2012 Test applicaton. Then I have add some bindingRedirect like,
我刚刚使用Visual Studio 2012测试应用程序创建了一个ASP.NET MVC 4应用程序。然后我添加了一些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测试项目时不起作用。
May be it's a bug as stated in this thread.
可能是这个帖子中提到的错误。
1 个解决方案
#1
0
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仍然有bug)
#1
0
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仍然有bug)