App does not compile in X64 (but correctly in X86) after Toolkit.UWP update to V5.0

Viewed 385

After update of Toolkit (and Windows 10 SDK) app does not compile in X64 (but works correctly in X86). Here are the errors:

ILT0005: 'C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\runtime.win10-x64.microsoft.net.native.compiler\2.2.1\tools\x64\ilc\Tools\rhbind.exe @"C:\Users\pierr\source\repos\Mon Gestionnaire de Photos\Mon Gestionnaire de Photos\obj\x64\Debug\ilc\intermediate\rhbindargs.Mon Gestionnaire de Photos.rsp"' returned exit code 7

and

RHBIND : error RHB0007: Could not load input file 'Microsoft.Toolkit.Uwp.UI.srclink'.

1 Answers

I had a similar issues, Downgrading Microsoft.NETCore.UniversalWindowsPlatform from 6.2.2 to 6.1.9 resolves the issues.

The real issue was from a dependent package of Microsoft.NETCore.UniversalWindowsPlatform 6.2.2 : "Microsoft.Net.Native.Compiler/2.2.1" whereas the Microsoft.NETCore.UniversalWindowsPlatform 6.1.9 depends on "Microsoft.Net.Native.Compiler/2.1.8"

Related