小编BeF*_*oRE的帖子

如何使用 dotnet cli 安装“Node JS 工具”

我们正在构建一个 ASP.NET Core 解决方案,并且最近向该解决方案添加了一个 NodeJS 项目。现在,当我们运行 CI 时,会出现以下错误:

error MSB4019: The imported project "/usr/share/dotnet/sdk/3.1.201/Microsoft/VisualStudio/v16.0/Node.js Tools/Microsoft.NodejsToolsV2.targets" was not found. Confirm that the expression in the Import declaration "/usr/share/dotnet/sdk/3.1.201/Microsoft/VisualStudio/v16.0/Node.js Tools/Microsoft.NodejsToolsV2.targets" is correct, and that the file exists on disk.
Run Code Online (Sandbox Code Playgroud)

这是有道理的,因为我们在任何时候都没有安装“NodeJS 工具”,但我们找不到如何安装这些工具。如何使用 dotnet cli 安装 NodeJS 工具?

.net msbuild continuous-integration node.js gitlab

7
推荐指数
1
解决办法
2787
查看次数

标签 统计

.net ×1

continuous-integration ×1

gitlab ×1

msbuild ×1

node.js ×1