How to solve error of "returned exit code 1" while building UWP xamarin based app in Visual Studio?

0

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 Check this checkbox 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

  1. 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.
  2. 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.

xamarin.forms
uwp
windows-store-apps
uwp-xaml
xamarin.uwp
asked on Stack Overflow Feb 15, 2019 by Deep Soni • edited Feb 15, 2019 by Deep Soni

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0