Visual 2019,Windows11. Invoking平台教程,A5:从外部应用程序调用智能契约,步骤A5.26:在主VS代码菜单中,单击‘终端’->‘运行构建任务.’:
我得到的错误如下:
Executing task in folder src: msbuild /property:GenerateFullPaths=true /t:build /consoleloggerparameters:NoSummary
'msbuild' is not recognized as an internal or external command,
operable program or batch file.
The terminal process "C:\WINDOWS\System32\cmd.exe /d /c msbuild /property:GenerateFullPaths=true /t:build /consoleloggerparameters:NoSummary" terminated with exit code: 1.
在这一点上,每一步都进展顺利。VS是更新的。需要帮助。如果您提供任何建议,请具体说明。我不是一个程序员或开发人员,有一些经验,但不多。我不知道在/PATH/xxx/version上运行什么.除非你告诉我什么是'xxx‘。我写了一个区块链(通过一个教程),并让它运行。谢谢。只是试着学习。
发布于 2022-01-26 07:53:47
通过从一个code.exe
(在Visual Studio 2019
下的Windows菜单中)运行Developer Command Prompt for VS 2019
来开始VS代码。这将正确设置路径以使用VS2019工具,包括msbuild。VS代码将继承该路径,因此可以访问msbuild。
https://stackoverflow.com/questions/70828079
复制相似问题