I am trying to update Microsoft.NETCore.UniversalWindowsPlatform Nuget in my project, but cannot do this. I'm on 5.1.0 right now and I'm trying to upgrade to 5.2.2. The result when trying to update looks like this:
Restoring packages for 'MyApp'.
Restoring packages for C:\Users\Shayon\uwp\src\MyApp\project.json...
System.Reflection.Emit.ILGeneration 4.0.1 provides a compile-time reference assembly for System.Reflection.Emit.ILGeneration on UAP,Version=v10.0, but there is no run-time assembly compatible with win10-arm-aot.
Some packages are not compatible with UAP,Version=v10.0 (win10-arm-aot).
System.Reflection.Emit.ILGeneration 4.0.1 provides a compile-time reference assembly for System.Reflection.Emit.ILGeneration on UAP,Version=v10.0, but there is no run-time assembly compatible with win10-x64-aot.
Some packages are not compatible with UAP,Version=v10.0 (win10-x64-aot).
System.Reflection.Emit.ILGeneration 4.0.1 provides a compile-time reference assembly for System.Reflection.Emit.ILGeneration on UAP,Version=v10.0, but there is no run-time assembly compatible with win10-x86-aot.
Some packages are not compatible with UAP,Version=v10.0 (win10-x86-aot).
Package restore failed for 'MyApp'.
Package restore failed. Rolling back package changes for 'MyApp'.
========== Finished ==========
I am not sure how to interpret this error message. Does this say reflection is not supported in UWP?
I tried to clear the cache and restore. I also tried uninstalling 5.1.0 and just installing directly on 5.2.2. I am using Nuget version 3.4.4 and VS 2015. I should also mention that I was able to update nuget for some other projects within the same solution without problems. If this matches my minimum version of Universal Windows (10.0; Build 10240), and my target version(10.0; Build 10586)
, ?