Microsoft Unit Testing failure, unable to load DLL to test

后端 未结 2 641
陌清茗
陌清茗 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!

提交回复
热议问题