Dotnet: Microsoft.NETCore.UniversalWindowsPlatform 6.2.8 update error from 6.1.X

Created on 14 Mar 2019  ·  19Comments  ·  Source: microsoft/dotnet

I get the error message for some projects Unable to find metadata of runtime.win10-arm64.Microsoft.Net.Native.Compiler.2.2.3

If I addruntime.win10-arm64.Microsoft.Net.Native.Compiler manually to the project with version 2.2.4 (only 2.2.4 and 2.2.1 is visible), the update UniversalWindowsPlatform 6.2.8 works.

Most helpful comment

@MagicAndre1981
Mine is UWP only too, it was a Xamarin.Forms project, but I've removed the dependency because I'd rather have a better design.

All 19 comments

I have the same issue.

I have the same bullshit.

As soon I try to build ARM64 target it gives me the following error.

C:\Windows\ServiceProfiles\NetworkService\.nuget\packages\microsoft.net.native.compiler\2.2.3\tools\Microsoft.NetNative.targets(801,5): Error : ILT0005: 'C:\Windows\ServiceProfiles\NetworkService\.nuget\packages\runtime.win10-arm64.microsoft.net.native.compiler\2.2.4\tools\ARM64\ilc\Tools64\nutc_driver.exe @"c:\VstsAgentISynergy1\_work\4\s\src\I-Synergy.Manager.Windows\obj\ARM64\debug\ilc\intermediate\MDIL\I-Synergy.Manager.rsp"' returned exit code 255

Process 'msbuild.exe' exited with code '1'.

I've added the runtime.win10-arm64.Microsoft.Net.Native.Compiler 2.2.4 package manually, but seems not to solve this issue.

They messed up big time. Even reverting back to 6.2.3 does not work anymore because of delisted dependencies. 😢
What I noticed is that even when I disable the native build of ARM64, the build server throws the same error.

yesterday I had same issue, now works :/

Thank you for the info. I see that runtime.win10-arm64.Microsoft.Net.Native.Compiler have now the version 2.2.3. I can confirm, that the update will works now.

does the app work for you? After updating to 6.2.8 I only get this exception at app startup:

Exception thrown: 'System.Exception' in System.Private.CoreLib.dll
An unhandled exception of type 'System.Exception' occurred in Unknown Module.

@MagicAndre1981
Yes, I have no problems, everything works as it should (Debug & Release). Did have you changed anything on the app besides the NETCore update like the target SDK?

@jp-weber no only the "PackageReference Include" entry for "Microsoft.NETCore.UniversalWindowsPlatform" was updated when I used NuGet UI to update the version to 6.2.8. Next I did a rebuild and trying to debug the app stops with this error message right at start.

@jp-weber does your csproj (for the UWP app) include RuntimeIdentifiers entries? Mine is not having it. After adding the win10 entries to RuntimeIdentifiers the app works with 6.2.8

@MagicAndre1981
No, my UWP project have no RuntimeIdentifiers.

@jp-weber this is confusing. But I'm happy that I found a way to get it running.

@jp-weber does your csproj (for the UWP app) include RuntimeIdentifiers entries? Mine is not having it. After adding the win10 entries to RuntimeIdentifiers the app works with 6.2.8

Interesting, I had the opposite problem, my project had RuntimeIdentifiers and didn't work, I removed them and it worked :)

@emiliano84

this makes the issue even more confusing 🤔❓❔🤷‍♂️

One question. My UWP app is just a Xamarin.Forms wrapper app without any other code. @emiliano84 @jp-weber what are you doing? real UWP only app or also Xamarin?

One question. My UWP app is just a Xamarin.Forms wrapper app without any other code. @emiliano84 @jp-weber what are you doing? real UWP only app or also Xamarin?

mine is UWP only

@emiliano84 thanks for this helpful information, now if @jp-weber is also only using UWP we might have the difference between us.

@MagicAndre1981
Mine is UWP only too, it was a Xamarin.Forms project, but I've removed the dependency because I'd rather have a better design.

ok, this explains the difference. you both @emiliano84 @jp-weber use UWP only and I have a Xamarin.Forms project.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

keslerm picture keslerm  ·  8Comments

omid3098 picture omid3098  ·  9Comments

svick picture svick  ·  9Comments

thuannguy picture thuannguy  ·  5Comments

petroemil picture petroemil  ·  4Comments