我想要在VS2013我的機器上編譯HeirarchicalNavTemplate編譯。簡單地解壓縮模板(可在http://code.msdn.microsoft.com/windowsapps/Windows-Store-hierarchical-4b1c67c4#content)導致以下編譯錯誤:Windows商店應用程序heirarchical導航模板makepri編譯錯誤
1>------ Build started: Project: HierarchicalNavTemplate, Configuration: Debug Any CPU ------
1> HierarchicalNavTemplate -> C:\Users\rw3\Downloads\Windows Store app hierarchical navigation%2c start to finish2\C#\bin\Debug\HierarchicalNavTemplate.exe
1>MakePri : error 0x80004005: Processing Resources with error: Unspecified error
1>C:\Users\rw3\Downloads\Windows Store app hierarchical navigation%2c start to finish2\C#\Strings\en-US\Resources.resw : error 0xdef00502: MakePRI: root node not found.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
調高的MSBuild日誌記錄級別的診斷表明,有問題的問題的命令是
"C:\Program Files (x86)\Windows Kits\8.1\bin\x64\MakePri.exe" New -ProjectRoot "C:\Users\rw3\Downloads\Windows Store app hierarchical navigation%2c start to finish2\C#\\" -ConfigXml obj\Debug\priconfig.xml -OutputFile "C:\Users\rw3\Downloads\Windows Store app hierarchical navigation%2c start to finish2\C#\bin\Debug\resources.pri" -IndexName adf73318-7321-478b-9e3a-899a435c2a85 -Verbose -Overwrite
相關priconfig.xml
文件中引用在命令粘貼在這裏:http://pastebin.com/s3BZWvbS。
命令中引用的相關Resources.resw
文件粘貼在這裏:http://pastebin.com/TEKPGveq。
這兩個文件似乎都沒問題,並且通過XML驗證的語法。任何人的洞察力都很感謝。
好像makepri不以文件方式來處理逗號好? –