繁体   English   中英

无法在Visual Studio 2015 Cordova项目中将Windows目标版本添加为Windows 10

[英]Unable to add Windows Target Version as Windows 10 in Visual Studio 2015 Cordova Project

在Visual Studio 2015企业版中,当我们选择cordova项目时,Windows目标版本中的Win10选项丢失。 当我们尝试使用以下命令将功能添加到现有项目中时:

cordova platform add windows@https://aka.ms/cordova-win10

它不会对所选项目产生任何影响,我怀疑这条信息对我而言是可疑的:

NO UAP SDK exists on this machine.

从该错误中,我了解到系统缺少通用应用平台SDK,但不确定该怎么做。 我已经检查了所有Visual Studio工具是否已安装。 但是,我只是在Visual Studio上完成了修复工作,这花费了4个小时,并且吞噬了我的大量Internet,但没有成功。

请帮忙。

确保已在VS安装Universal Windows App Development Tools选择了“ Universal Windows App Development Tools ”。 您可能需要进行修改以手动添加它。

在此处输入图片说明

在我这边,我必须指定正确的Cordova CLI。 之后,出现10.0选项。

Config.xml(double click) => Platforms => Check globally installed Cordova version

暂无
暂无

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM