You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何将VSProjectLoader扩展纳入dotnet-nunit CLI全局安装?

NUnit控制台运行器扩展相关问题
  • 已通过以下命令全局安装NUnit控制台运行器:
    dotnet tool install -g nunit.consolerunner.netcore
    
  • 工具可正常运行,但必须手动列出包含测试用例的文件,无法实现预期的内置自动测试发现功能。
  • 注意到工具存在扩展点,其中NUnit.Extension.VSProjectLoader扩展应该能解决自动发现的问题,但尝试将其作为dotnet工具安装时出现错误:
    Cannot find a manifest file.
    For a list of locations searched, specify the "-d" option before the tool name.
    If you intended to install a global tool, add `--global` to the command.
    If you would like to create a manifest, use `dotnet new tool-manifest`, usually in the repo root directory.
    
  • 此前已尝试执行choco install nunit-extension-vs-project-loader,但仍未实现预期功能。
  • 疑问:是否可以将此扩展作为dotnet-nunit CLI工具的全局安装部分?希望无需修改源代码即可实现。

内容的提问来源于stack exchange,提问作者user32882

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.25 04:22:03