VSTS build failing with error “Process 'msbuild.exe' exited with code '1'.”

孤街醉人 提交于 2019-12-12 05:48:51

问题


Getting that build failed error because I have 4 warnings that read the same.

##[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

I am using Python 3.4.4 64-bit if that makes a difference.

The build is failing during the Build solution **\*.sln section of the build.

Thank you in advance for any help.


回答1:


Edit pyproj file to change 10.0 to 15.0

<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">15.0</VisualStudioVersion>


来源:https://stackoverflow.com/questions/45150339/vsts-build-failing-with-error-process-msbuild-exe-exited-with-code-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!