本地化Windows应用商店MakePRI警告

时间:2012-11-18 21:40:59

标签: windows-8

我已将我的应用的本地化字符串添加为相应文件夹下的Resources.resw文件(en-US,nb-NO),并在编译时收到以下警告:

MakePRI:警告0xdef00520:无效限定符:EN-US

MakePRI:警告0xdef00520:无效限定符:NB-NO

我怀疑无效字符是键,但我无法追踪违法者。

这是构建输出:

1>Task "GenerateProjectPriFile"
1>  C:\Program Files (x86)\Windows Kits\8.0\bin\x86\MakePri.exe New -ProjectRoot "C:\Users\Eivind\documents\visual studio 2012\Projects\FructoseStore\FructoseStore\\" -ConfigXml obj\Debug\priconfig.xml -OutputFile "C:\Users\Eivind\documents\visual studio 2012\Projects\FructoseStore\FructoseStore\bin\Debug\resources.pri" -IndexName 1e111781-63c0-4629-81a6-442da5904cb6 -Verbose -Overwrite  
1>  Option Verbose specified
1>  Option Overwrite specified
1>  Index Pass Completed: obj\Debug\layout.resfiles
1>  
1>  Index Pass Completed: obj\Debug\resources.resfiles
1>  Language Qualifiers: EN-US, NB-NO
1>  
1>  Index Pass Completed: obj\Debug\pri.resfiles
1>  Language Qualifiers: EN-US, NB-NO
1>  
1>  Finished building
1>  Version: 1.0
1>  Resource Map Name: 1e111781-63c0-4629-81a6-442da5904cb6
1>  Named Resources: 79
1>  Resource Candidates: 140
1>  Output File at C:\Users\Eivind\documents\visual studio 2012\Projects\FructoseStore\FructoseStore\bin\Debug\resources.pri
1>  Successfully Completed
1>MakePRI : warning 0xdef00520: Invalid Qualifier: EN-US
1>MakePRI : warning 0xdef00520: Invalid Qualifier: NB-NO
1>Done executing task "GenerateProjectPriFile".

1 个答案:

答案 0 :(得分:0)

据我所知,通过重新启动Visual Studio解决了这个问题。