2017-06-19 92 views
0

这里是我已经安装在机器上:建筑应用失败

  • 科尔多瓦CLI:6.5.0
  • 离子CLI版本:2.1.17
  • 离子应用程序库版本:2.1 0.7
  • IOS部署版本:未安装
  • IOS-SIM版本:未安装
  • 操作系统:Windows 10
  • 节点版本:v6.11.0
  • 版本的Xcode:未安装

我正在写一个应用程序与离子1.3.3角度1.5.3和6.5科尔多瓦

当我运行此命令: 科尔多瓦构建Windows --appx = UAP

我得到这个错误:

为平台处理设置:窗户 裴lding项目:

C:\Users\aubrey\Source\Repos\SelfServiceApp\SelfServiceApp\platforms\windows\CordovaApp.Windows10.jsproj 
     Configuration : debug 
     Platform  : anycpu 
C:\Users\aubrey\Source\Repos\SelfServiceApp\SelfServiceApp\platforms\windows\CordovaApp.Windows10.jsproj(61,5): error M 
SB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Microsoft.VisualStudio..Defau 
lt.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk 
. 
Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe: Command failed with exit code 1 

我不知道为什么它不起作用。 Android构建工程。

+0

Microsoft.Default.Props文件实际上不存在。 – user1261710

回答

0

这可能是因为依赖插件的源文件没有设置为“内容”类型。使用cordova-windows 5.0.0版可能会解决您的错误。