What could be causing a System.TypeLoadException in a Visual Studio Unit Test?

前端 未结 13 1393
你的背包
你的背包 2020-12-05 17:43

I\'ve got a C# .NET class library MyClassLibrary that compiles fine. I\'m trying to create a unit test project for it (using Visual Studio Unit Testing Fram

相关标签:
13条回答
  • 2020-12-05 18:30

    Encountered the same issue. Just in case if it helps anyone - I managed to get it to work by downgrading the nuget package NUnit3TestAdapter from version 3.13.0 to 3.11.2.

    You can find more information on this - https://github.com/nunit/nunit-console/issues/424

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