完整的错误日志:CordovaApp.Windows.jsproj(70,3):错误MSB4019:导入项目
C:\Users\user\Development\Tutorials\cordova-tutorial\hello\platforms\windows\CordovaApp.Windows.jsproj(70,3): error MSB4019: The imported project "C:\Program Files(x86)\MSBuild\Microsoft\VisualStudio\v14.0\Microsoft.VisualStudio..Default.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
虽然这样做从官方网站科尔多瓦教程Create your first app,建立了HelloWorld应用程序时,我得到了错误我上面已经发布。
我正在从命令行构建cordova项目,并使用Visual C++ 2015 Build Tools和Windows 10 SDK - 但不包含带内置工具的Visual Studio。 为什么?因为我当前的项目的一部分是准备开发环境,以便用Cordova构建Windows 10 UAP应用程序,而无需安装Visual Studio。
这里的任何人都没有安装Visual Studio的工具有建设科尔多瓦窗口项目有相同或相似的问题?
为什么我需要去解决这个问题?
我发现有人用类似的问题,在话题[Microsoft.VisualStudio..Default.props” 未找到(http://stackoverflow.com/questions/33931497/microsoft- visualstudio-default-props-was-not-found),但没有解决方案,尽管... – user7458546