当我在我的测试设置中开启代码覆盖率,在引用团结DI容器我得到以下错误的一个项目:如何获得代码覆盖率在VS 2010项目上工作?
Cannot initialize the ASP.NET project '{Project Name}'.
事件日志指定以下原因:
Could not load file or assembly 'Microsoft.Practices.Unity, Version=2.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name signature could not be verified.
我如何解决这个问题?
我在Windows 7 X64机器上运行Visual Studio 2010 Ultimate。
[VS2010中MSTest测试运行错误]的可能重复(http://stackoverflow.com/questions/2761587/test-run-errors-with-mstest-in-vs2010) – 2010-05-23 15:33:03
我现在明白了。虽然答案来了这个问题。一种结合答案的方法? – Kimoz 2010-05-23 17:45:40