XAML Islands, Always get an error trying to publish the WPF Project. More people having the same issue?

138 views Asked by At

I am trying to run the WPF XAML Islands example commited by Microsoft at https://github.com/microsoft/Xaml-Islands-Samples. Every time I publish the app and try to execute the project in at any windows 10 machine (yes i have confirm that have the same revision) i get the same error:

Application: WPF_XAMLIslands_v1.exe CoreCLR Version: 4.700.20.36602 .NET Core Version: 3.1.7 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.FileLoadException: Could not load file or assembly 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference. (0x80131040) File name: 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

Any idea in this matter??? The revision of windows 10 I am using is 2004

1

There are 1 answers

0
Andres Gonzalez On

i found the issue, it was the packaging manifest. It didn't have define the target revision. After define my target device family everything start working

... ...