Error: Internal compiler error: Could not load assembly '\App1\obj\x86\Release\ilc\in\System.Data.dll\System.Data.dll'
caused by line 731 in C:\Users\User.nuget\packages\microsoft.net.native.compiler\2.0.2\tools\Microsoft.NetNative.targets
Additional info:
Error: Internal compiler error: Could not load assembly '\App1\obj\x86\Release\ilc\in\System.Data.dll\System.Data.dll'
Actually, the Microsoft.NETCore.UniversalWindowsPlatform
version 6.0.5 contains .NET native compilers 2.0.2. You have no need to install Microsoft.Net.Native.Compiler 2.0.2 individually.
And Microsoft.Net.Native.Compiler 2.0.2
is only available in Windows 10 Fall Creators Update (10.0;build 16299)
. if it has been installed individually, you need to modify your target min version to 16299.