Microsoft Unit Testing failure, unable to load DLL to test

后端 未结 2 611
陌清茗
陌清茗 2021-01-05 19:49

I\'ve got a .NET 3.5 class lib that I am trying to write some automated tests for but I\'m getting the following error when running any tests in the solution:

相关标签:
2条回答
  • 2021-01-05 19:58

    Found the problem, I had set the AssemblyCultureAttribute in the AssemblyInfo.cs file in my Library.Common project. Once removing it the tests run.

    Now to actually learn how to use that attribute!

    0 讨论(0)
  • 2021-01-05 20:05

    Can you rebuild the solution? And do you reference to that Library.Common?

    You may want to provide more details ( such as what is Library.Common).

    0 讨论(0)
提交回复
热议问题