VS2015 - 未检测到所选目标的有效MSBuild

时间:2017-06-12 07:19:32

标签: cordova visual-studio-2015 msbuild windows-10 visual-studio-cordova

我已经在VS2015上安装了Cordova。当我在VS2015中构建Cordova解决方案时,我得到了Windows平台的错误。

"No valid MSBuild was detected for the selected target" 

当我运行“cordova要求”时,我得到以下信息。对我来说,使用android平台构建成功。

Requirements check results for windows:
Windows OS: installed Windows 10
MSBuild Tools: not installed
MSBuild tools v.14.0 not found. Please install Visual Studio 2015 Community from https://www.visualstudio.com/downloads/download-visual-studio-vs
Visual Studio: not installed
Required version of Visual Studio not found. Please install Visual Studio 2015 Community from https://www.visualstudio.com/downloads/download-visual-studio-vs
Windows SDK: not installed
Windows SDK not found. Ensure that you have installed Windows 10.0 SDK along with Visual Studio or install Windows 10.0 SDK separately from https://dev.windows.com/en-us/downloads
Windows Phone SDK: not installed
Windows Phone SDK not found. Ensure that you have installed Windows Phone 10.0 SDK along with Visual Studio or install Windows Phone 10.0 SDK separately from https://dev.windows.com/develop/download-phone-sdk
Error: Some of requirements check failed

我在下面的链接中看到了同样的问题,但这对我没有帮助。

"No valid MSBuild was detected for the selected target" when build cordova with Microsoft visual studio 2015

Build Cordova Apps using Windows 10 SDK - No Valid MSBuilD

希望有人可以帮我解决这些问题。任何帮助将不胜感激

0 个答案:

没有答案