问题
I am facing following error while publishing my UWP Xamarin based app on Windows Store.
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.
To remove "Windows Store" error, I have made following changes in my project After this it start another error as following while building project:
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.
Is there any version related issue than I also mention that I am using Visual Studio 2017(Enterprise) Version 15.9.2
Can anybody please suggest me how to solve above error? It will be really helpful.
Thank you.
来源:https://stackoverflow.com/questions/54709264/how-to-solve-error-of-returned-exit-code-1-while-building-uwp-xamarin-based-ap