VSTS构建失败并出现错误" Process' msbuild.exe'退出代码' 1'。"

时间:2017-07-17 17:33:36

标签: msbuild visual-studio-2017 azure-pipelines

获取该构建失败错误,因为我有4个相同的警告。

##[warning]C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Python Tools\Microsoft.PythonTools.Django.targets(120,5): Warning : Errors while resolving environments: Some project interpreters failed to load:

Interpreter d:\a\1\s\"name of project"\env\ has invalid value for 'Id': env
Interpreter reference has invalid path: Global|PythonCore|3.4

如果有所不同,我使用64位的Python 3.4.4。

构建在构建的Build solution **\*.sln部分失败。

提前感谢您的帮助。

1 个答案:

答案 0 :(得分:1)

编辑pyproj文件以将10.0更改为15.0

<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">15.0</VisualStudioVersion>
相关问题