Cordova项目和Windows平台 [英] Cordova project and windows platform

查看:209
本文介绍了Cordova项目和Windows平台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个cordova项目,并添加了Windows平台,但是在运行该项目时出现此错误:

I have a cordova project and I added windows platform but when I run the project I have this error:

MSBuild v4.0 is not supported, aborting.
Error: AppPackages doesn't exists

推荐答案

尝试设置OS环境变量 VSINSTALLDIR = C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Community \ 指向您带有MSBuild目录的Visual Studio文件夹.

Try to set OS environment variable VSINSTALLDIR = C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\ which points to your Visual Studio folder with MSBuild directory.

这篇关于Cordova项目和Windows平台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆