Uma*_*sai 5 c# mstest visual-studio-code
我在 macOS Sierra 上从 Visual Studio Code 运行 MSTests 时遇到问题。我已在project.json ( "Microsoft.VisualStudio.QualityTools.UnitTestFramework": "11.0.50727.1")中添加了依赖项
另外我已经恢复了项目,这意味着 VS Code 确实下载了 dll 文件,但我似乎仍然收到错误:
The type or namespace name 'VisualStudio' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [netcoreapp1.1]
VS Code 首先是否支持运行 MSTest?如果是的话,我可能哪里出错了?
正如您在文件中看到的ProgramTest.cs,它找不到名称空间'VisualStudio'。
PS:我是 VSCode 和 C# 的新手。