我在Windows Phone 8.1应用程序的构建空白应用程序中遇到以下问题:
1>MakePRI : error 0x8007007e: Unspecified error occurred.
1> The command exited with code -2147024770. (TaskId:114)
我已经阅读了这个similar problem,我找到了
1>Using "GenerateProjectPriFile" task from assembly "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.Build.AppxPackage.dll".
1>Task "GenerateProjectPriFile" (TaskId:114)
1> Task Parameter:MakePriExeFullPath=C:\Program Files(x86)\Windows Kits\8.1\\bin\x86\MakePri.exe (TaskId:114)
1> Task Parameter:MakePriExtensionPath=C:\Program Files(x86)\Windows Phone Kits\8.1\bin\x86\MrmEnvironmentExtDl.dll (TaskId:114)
1> Task Parameter:PriConfigXmlPath=obj\x86\Debug\priconfig.xml (TaskId:114)
1> Task Parameter:
1> IndexFilesForQualifiersCollection=
1> obj\x86\Debug\layout.resfiles
1> obj\x86\Debug\resources.resfiles (TaskId:114)
1> Task Parameter:ProjectPriIndexName=08d39f94-f55b-4d4f-94a9-91c2f594be57(TaskId:114)
1> Task Parameter:InsertReverseMap=False(TaskId:114)
1> Task Parameter:ProjectDirectory=E:\Projects\Samples\ScrollViewerSampleApp\ (TaskId:114)
1> Task Parameter:OutputFileName=E:\Projects\Samples\ScrollViewerSampleApp\bin\x86\Debug\resources.pri (TaskId:114)
1> Task Parameter:QualifiersPath=obj\x86\Debug\qualifiers.txt (TaskId:114)
1> Task Parameter:IntermediateExtension=.intermediate(TaskId:114)
1> Task Parameter:AppxBundleAutoResourcePackageQualifiers=Language|Scale|DXFeatureLevel(TaskId:114)
1> Task Parameter:MultipleQualifiersPerDimensionFoundPath=obj\x86\Debug\MultipleQualifiersPerDimensionFound.txt (TaskId:114)
1> C:\Program Files(x86)\Windows Kits\8.1\\bin\x86\MakePri.exe New -ProjectRoot E:\Projects\Samples\ScrollViewerSampleApp\ -ConfigXml obj\x86\Debug\priconfig.xml -OutputFile E:\Projects\Samples\ScrollViewerSampleApp\bin\x86\Debug\resources.pri -ExtensionDll "C:\Program Files (x86)\Windows Phone Kits\8.1\bin\x86\MrmEnvironmentExtDl.dll" -IndexName 08d39f94-f55b-4d4f-94a9-91c2f594be57 -Verbose -Overwrite(TaskId:114)
1> Option Verbose specified(TaskId:114)
1> Option Overwrite specified(TaskId:114)
1>MakePRI : error 0x8007007e: Unspecified error occurred.
1> The command exited with code -2147024770. (TaskId:114)
我可以看到VS不会使用错误的东西。最后一次(2周前)我用WP8.1 SDK修复了VS.但它又发生了,我想知道这个问题的原因是什么。
提前致谢