运行cordova窗口应用程序需要做什么?

运行cordova窗口应用程序需要做什么?,cordova,Cordova,我已经用cordova创建了hello示例项目 如果我输入cordova要求,我会得到: Requirements check results for windows: Windows OS: installed Windows 10 MSBuild Tools: installed 14.0 Visual Studio: installed 16.9 Windows SDK: installed 10.0 Windows Phone SDK: installed 10.0 如果我键入cord

我已经用cordova创建了hello示例项目

如果我输入cordova要求,我会得到:

Requirements check results for windows:
Windows OS: installed Windows 10
MSBuild Tools: installed 14.0
Visual Studio: installed 16.9
Windows SDK: installed 10.0
Windows Phone SDK: installed 10.0
如果我键入cordova run windows,我会得到:

       Building project: C:\Users\User\Desktop\hello\hello\platforms\windows\CordovaApp.Windows10.jsproj
                Configuration : debug
                Platform      : anycpu
                Buildflags    : /p:AppxBundle=Never
                MSBuildTools  : C:\Program Files (x86)\MSBuild\14.0\bin
        buildProject spawn: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild [
          'C:\\Users\\User\\Desktop\\hello\\hello\\platforms\\windows\\CordovaApp.Windows10.jsproj',
          '/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal',
          '/nologo',
          '/p:Configuration=debug',
          '/p:Platform=anycpu',
          '/p:AppxBundle=Never'
        ] { stdio: 'inherit' }
        C:\Users\User\Desktop\hello\hello\platforms\windows\CordovaApp.Windows10.jsproj(61,5): 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.
        No valid MSBuild was detected for the selected target: Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild: Command failed with exit code 1
构建项目:C:\Users\User\Desktop\hello\hello\platforms\windows\CordovaApp.Windows10.jsproj
配置:调试
平台:anycpu
Buildflags:/p:AppxBundle=Never
MSBuildTools:C:\ProgramFiles(x86)\MSBuild\14.0\bin
buildProject生成:C:\Program Files(x86)\MSBuild\14.0\bin\MSBuild[
'C:\\Users\\User\\Desktop\\hello\\hello\\platforms\\windows\\CordovaApp.Windows10.jsproj',
“/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal”,
“/nologo”,
“/p:Configuration=debug”,
“/p:Platform=anycpu”,
“/p:AppxBundle=Never”
]{stdio:'inherit'}
C:\Users\User\Desktop\hello\hello\platforms\windows\CordovaApp.Windows10.jsproj(61,5):错误MSB4019:未找到导入的项目“C:\Program Files(x86)\MSBuild\Microsoft\VisualStudio\v14.0\Microsoft.VisualStudio..Default.props”
. 确认声明中的路径正确,并且文件存在于磁盘上。
未检测到所选目标的有效MSBuild:错误:C:\Program Files(x86)\MSBuild\14.0\bin\MSBuild:命令失败,退出代码为1
我必须做什么才能让它工作


提前感谢。

请检查,我认为您缺少构建工具,类似问题: