MSBUILD : error MSB3428: 未能加载 Visual C++ 组件“VCBuild.exe”。

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 2021/3/17 0:22:07.
Project "D: ode_modules ode-sassuildinding.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Release|x64".
MSBUILD : error MSB3428: 未能加载 Visual C++ 组件“VCBuild.exe”。

要解决此问题,1) 安装 .NET Framework 2.0 SDK;2) 安装 Microsoft Visual Studio 2005;或 3) 如果将该组件安装到了其他位置,请将其位置添加到系统路径中。

[D:sch ode_modules ode-sassuildinding.sln]
Done Building Project "D:st ode_modules ode-sassuildinding.sln" (default targets) -- FAILED.


Build FAILED.

解决方法:
 以管理员身份运行 并打开命令行工具
 在命令行工具中运行
 npm install -global -production windows-build-tools
 

原文地址:https://www.cnblogs.com/emanlee/p/14546947.html