本文介绍了VSTS构建失败,错误为“进程"msbuild.exe"以代码"1"退出.".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

获取该构建失败的错误,因为我有4条警告也显示了同样的警告.

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

如果有区别,我正在使用Python 3.4.4 64位.

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

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

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

在此先感谢您的帮助.

推荐答案

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

Edit pyproj file to change 10.0 to 15.0

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

这篇关于VSTS构建失败,错误为“进程"msbuild.exe"以代码"1"退出.".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 00:27
查看更多