我使用Visual Studio 2013来满足我的大部分开发需求.我安装了Visual Studio 2015(Professional)并开始查看Universal Windows应用程序.我创建了一个空白的应用程序并构建它.它因以下错误而失败:
File 'MakePri.exe' not found. See http://go.microsoft.com/fwlink/?prd=12560&pver=1.0&plcid=0x409&ar=MSDN&sar=PlatformMultiTargeting&o1=UAP&o2=10.0.10586.0 for more information. App4 C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets
Run Code Online (Sandbox Code Playgroud)
我无法做任何事情,因为其他应用程序(例如:网站,经典桌面)正在建设中.我查了一下,发现指向SDK路径的指针.我进入选项并打开MSBuild项目构建输出到诊断.以下是"输出"窗口中的日志.我发现它失败了,但我无法弄清楚如何解决它.输出非常详细,超出了此处的字符限制.但是,这是有失败信息的部分.
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(892,5): error APPX1639: File 'MakePri.exe' not found. See http://go.microsoft.com/fwlink/?prd=12560&pver=1.0&plcid=0x409&ar=MSDN&sar=PlatformMultiTargeting&o1=UAP&o2=10.0.10586.0 for more information.
1>Done executing task "GetSdkFileFullPath" -- FAILED. (TaskId:50)
1>Done building target "_GetSdkToolPaths" in project "App4.csproj" -- FAILED.: (TargetId:78)
Run Code Online (Sandbox Code Playgroud)
在我的机器上,我在C:\ Program Files(x86)\ MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage \中没有"Microsoft.AppXPackage.Targets(892,5)"文件
我该如何解决这个错误?谢谢你的帮助.