2017-07-19 84 views
1

我正试图进入商店。由于这是一个WPF应用程序,我必须使用makepri.exe。即使我遵循指南中给出的确切参数,它仍会失败。我给它的参数是:未记录的MakePri.exe

cd "C:\Users\XXX\Documents\Visual Studio 2017\Projects\MyCompany.MyApp\MyCompany.MyApp" 

"C:\Program Files (x86)\Windows Kits\10\bin\x86\makepri.exe" createconfig /o /cf priconfig.xml /dq en 

"C:\Program Files (x86)\Windows Kits\10\bin\x86\makepri.exe" new /o /v /pr . /cf priconfig.xml 

它创建从第二行的priconfig.xml但没有3号线。

Option Verbose specified 
Option ProjectRoot specified 
Option Configxml specified 
MakePri: warning: Output location of PRI file(s) is detected to be under the project root. If previously generated PRI file(s) is present, these may be re-indexed and lead to unexpected results. 
Index Pass Completed. 
AlternateForm Qualifiers: UNPLATED 
Language Qualifiers: en,de,es,fr,ja 
Scale Qualifiers: 100,400,150,125,200,150,125,400,100 
TargetSize Qualifiers: 256,16,24,32,48 


MakePri: error 0x80073b0d: Processing Resources failed with error: Invalid ResourceCandidate type. 

MakePRI: error 0xdef01023: Unspecified error occurred. 

我觉得这是因为我有Resources.zh.resx,但之后我删除从项目文件它仍然发生。有没有人对我如何使它工作有任何建议?不知道为什么它现在两次列出比例限定符。

回答

1

得到这个工作通过设置平台版本(仍然无证)

“C:\ Program Files文件(x86)的\的Windows套件\ 10 \ BIN \ 86 \ makepri.exe” createconfig/O/CF priconfig.xml/pv 10.0.0/dq en

一旦设置了第三个命令的工作。