I encountered this issue when trying to produce a RELEASE build, and theUse64BitCompilerflag now allows us to create RELEASE builds on our Visual Studio 2019 machines.
However, if we try to produce a RELEASE build using App Center, we get this error again and the build fails.
Error on UWP release package creation: ILT0005 nutc_driver.exe exit code 4
Any ideas why that is?
(Xamarin.Forms project using the three presenters/renderers for XLS, PPTX, and DOCX files)
// you should add `using System.Reflection;`
List<Assembly> assembliesToInclude = new List<Assembly>();
//Now, add all the assemblies your app uses
assembliesToInclude.Add(typeof(Syncfusion.SfDataGrid.XForms.UWP.SfDataGridRenderer).GetTypeInfo().Assembly);
assembliesToInclude.Add(typeof(Syncfusion.SfNumericTextBox.XForms.UWP.SfNumericTextBoxRenderer).GetTypeInfo().Assembly);
assembliesToInclude.Add(typeof(Syncfusion.XForms.UWP.ComboBox.SfComboBoxRenderer).GetTypeInfo().Assembly);
// replaces Xamarin.Forms.Forms.Init(e);
Xamarin.Forms.Forms.Init(e, assembliesToInclude);