Where to find “Microsoft.VisualStudio.TestTools.UnitTesting” missing dll?

后端 未结 12 1813
谎友^
谎友^ 2020-11-28 05:11

I am getting following error in my C# visual studio project:

The type or namespace name \'VisualStudio\' does not exist in the namespace \'Microsoft\'

12条回答
  •  执念已碎
    2020-11-28 05:17

    I got this problem after moving a project and deleting it's packages folder. Nuget was showning that MSTest.TestAdapter and MSTest.TestFramework v 1.3.2 was installed. The fix seemed to be to open VS as administrator and build After that I was able to re-open and build without having admin priviledge.

提交回复
热议问题