Using .NET Core DLL in a UWP Application - Runtime Version Mismatch

0

I have an application that is built on UWP. I need to reference a DLL from a .NET Core Project within my UWP Windows Application Targeted Universal Windows 10.0

The .NET CORE application had a target Core framework 1.0 to match with the UWP 10.0.

I was able to import the DLL, Call it in the application and the application compiled fine. But during execution, when I was using those specific functions, I got a RunTime error as below.

Any help wil be much appreciated.

System.IO.FileLoadException HResult=0x80131040 Message=Could not load file or assembly 'System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Source= StackTrace:

c#
.net-core
uwp
windows-10-universal
.net-framework-version
asked on Stack Overflow Oct 31, 2019 by Praveen • edited Oct 31, 2019 by Pavel Anikhouski

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0