在Windows Store上发布基于UWP Xamarin的应用程序时,我遇到以下错误。
Package acceptance validation error: This package wasn't built for submission to the Microsoft Store. Make sure you're uploading a Release build with the .NET Native tool chain enabled.
要消除“ Windows Store”错误,我在项目中进行了以下更改 此后,它会在构建项目时启动另一个错误,如下所示:
1:Error: NUTC1056:Internal Compiler Error: 0x8000ffff. Error encountered while compiling method 'instance System.Void MyProject.Views.MyPage.InitializeComponent()'. MyProject.UWP
2:Severity Code Description Project File Line Suppression State
Error ILT0005: 'C:\Users\deep.soni\.nuget\packages\microsoft.net.native.compiler\2.0.0\tools\x86\ilc\Tools\nutc_driver.exe @"path\MyProject.UWP\obj\x64\Release\ilc\intermediate\MDIL\MyProject.UWP.rsp"' returned exit code 1 MyProject.UWP
To solve it: From one of solution, I have found that I need to install Language Pack to resolve above error. But after installing it, error is same.
Try to build after delete bin and obj folder.
是否有任何与版本相关的问题,我还提到我正在使用Visual Studio 2017(Enterprise)15.9.2版
有人可以建议我如何解决以上错误吗?真的很有帮助。
谢谢。