2017-06-19 90 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版可能會解決您的錯誤。