简体   繁体   English

使用Windows 10 SDK构建Cordova应用-无有效的MSBuilD

[英]Build Cordova Apps using Windows 10 SDK - No Valid MSBuilD

I have installed the Windows 10 SDK on my Windows 10 PC, but unfortunately I'm unable to build the cordova apps. 我已经在Windows 10 PC上安装了Windows 10 SDK,但是很遗憾,我无法构建cordova应用程序。 It give error "Error: No valid MSBuild was detected for the selected target." 它给出错误“错误:没有为所选目标检测到有效的MSBuild”。 I have google it but some are saying need to install MS Visual Studio, it really frustrating me because this MS Visual Studio is 9GB that so big in size. 我有谷歌它,但有人说需要安装MS Visual Studio,这真的让我感到沮丧,因为此MS Visual Studio的大小为9GB。 Is there anything that I can do with Windows 10 SDK or should I download the MS Visual Studio instead? 我可以使用Windows 10 SDK做任何事情,还是应该下载MS Visual Studio?

Visual Studio has a number of necessary components required to build and package a UWP app for distribution. Visual Studio具有构建和打包UWP应用进行分发所需的许多必要组件。 You will need to install Visual Studio. 您将需要安装Visual Studio。

Make sure you are using 'Command Prompt' and not some other terminal like 'Node JS Command Prompt' 确保您使用的是“命令提示符”,而不是其他终端,例如“ Node JS Command Prompt”

Also, there have been changes since this post that may help you. 另外,自从这篇文章以来,发生了一些变化,可能会对您有所帮助。

https://cordova.apache.org/announcements/2018/02/27/cordova-windows-6.0.0.html https://cordova.apache.org/announcements/2018/02/27/cordova-windows-6.0.0.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Cordova Windows 构建“未检测到所选目标的有效 MSBuild” - Cordova Windows build 'No valid MSBuild was detected for the selected target' Ionic cordova构建窗口抛出* MSBUILD *错误 - Ionic cordova build windows throw *MSBUILD* error Ionic / Cordova Windows构建选择了错误的MSBUILD路径 - Ionic / Cordova Windows build picking up incorrect MSBUILD path 如何在Windows 10上构建Cordova应用程序(通用) - How to build a Cordova app to windows 10 (universal) Cordova Windows 10 App Apps无法加载ActiveX控件 - Cordova Windows 10 App Apps can't load ActiveX controls 使用Microsoft Visual Studio 2015构建Cordova时,“未检测到所选目标的有效MSBuild” - “No valid MSBuild was detected for the selected target” when build cordova with Microsoft visual studio 2015 Windows Express应用程序使用带有SDK的Express Edition? - Windows phone Apps using Express edition with SDK? 在Windows 10上使用Visual Studio 2015时,是否可以构建和提交与Windows Phone 8.1兼容的UWP应用? - Can you build and submit UWP apps that are compatible with Windows Phone 8.1, when using Visual Studio 2015 on Windows 10? cmake Windows 10 SDK - cmake Windows 10 SDK 使用MSBuild创建成功的版本 - Using MSBuild to create a successful build
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM