Hi,
I've been searching online for this error, here and on MSDN Foruns and none of them have the answer.
My project has the following configuration:
TargetPlatformMinVersion 10.0.15063.0
TargetPlatformVersion 10.0.17763.0
Log info:
x64 compiler
Cx86 compiler:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : ILT0005: 'C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\x64\ilc\Tools\nutc_driver.exe @"C:\Users\marco\Source\Workspaces\App1\Dev\App1\obj\x64\Release\ilc\intermediate\MDIL\App1.rsp"' returned exit code 1
C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\Microsoft.NetNative.targets(697,5): error : ILT0005: 'C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\1.7.6\tools\x86\ilc\Tools\nutc_driver.exe @"C:\Users\marco\Source\Workspaces\App1\Dev\App1\obj\x86\Release\ilc\intermediate\MDIL\App1.rsp"' returned exit code 1
The project uses several nuget packages. See the picture for more details. Also, i read somewhere that having several nuget packages, could cause this issue with the compiler.
Here's the workarounds i tried based on my online findings:
"<Use64BitCompiler>true</Use64BitCompiler>" to the Release config - No Success. Source cant-build-uwp-app-which-has-more-nuget-references.html
Comment runtime directive "<Assembly Name="Application" Dynamic="Required All" />" - No success. Source uwp-bug-report-net-native-compiler-crashing.html
"<ShortcutGenericAnalysis>true</ShortcutGenericAnalysis>", don't know where to place it, but i found that info on this link, anyway this is related to different error. rhbind-error-rhb0002-in-generating-xamarin-forms-u.html
I'm out of options. Looks like this issue still exists but only happens with my project on several machines i tested. Even a device with 40GB of RAM, since i learned the compiler crashes with the lack of memory. I didn't see that info on the compiler log though.
I activated the VS Diagnostics verbosity and log for more details, but i only found the lines described above with that relevant information.
I have VS2019 16.6.4 installed today.