且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Windows 8.1 应用商店应用 MAKEPRI 构建错误

更新时间:2023-11-20 16:42:52

我必须将 VS2013 Tools > Options > Projects and Solutions > Build and Run > MSBuild project build output verbosity 设置为 Diagnostic

I had to set VS2013 Tools > Options > Projects and Solutions > Build and Run > MSBuild project build output verbosity to Diagnostic

然后我意识到这一点

1> 任务参数:MakePriExeFullPath=C:\Program Files (x86)\Windows Kits\8.0\bin\x64\MakePri.exe (TaskId:86)

1> Task Parameter:MakePriExeFullPath=C:\Program Files (x86)\Windows Kits\8.0\bin\x64\MakePri.exe (TaskId:86)

所以它使用了错误版本的 SDK.然后和蒂姆·豪雅 (Tim Heuer) 交谈,他告诉我开发人员告诉我,这是因为 SDK 路径混乱,如果您从 VS2012 命令提示符打开 VS,可能会导致此问题."

So it was using the wrong version of the SDK. Then talking to Tim Heuer he told me that "The devs are telling me that this is because the SDK path is messed up and can be caused if you are opening VS from a VS2012 command prompt perhaps."

那是因为我从 powershell 启动了 VS2013,这是我的 powershell 配置文件中的 Visual Studio 2012 命令提示符变量的设置.当我将其更改为 Vs2013 时,一切又开始正常工作了!

That was it because I started VS2013 from powershell which was settings in my powershell profile the Visual Studio 2012 command prompt variables. When I changed it to Vs2013 everythign started to work correctly again!

感谢 Tim 和开发团队!

Thanks Tim and the devs team!