Change reference of third party dll

115 Views Asked by At

I've got a third-party dll named MAF.Core.dll.

This dll is using the NuGet-Package "IKVM" Version 8.1.5717.0. Unfortunately if I'm using the dll in .net Core, it's not working anymore, because this IKVM version doesn't work in .net Core.

Luckily there's another IKVM version: https://github.com/ikvm-revived/ikvm

But this IKVM-Version has the version 8.5.0.3. Therefore my MAF.Core.dll can't use those new dll's.

Question: How can I use the new IKVM-Dll's for my MAF.Core.dll?

Specific Version is set to false and I've also tried to change the app.config like this:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <startup> 
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
    </startup>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="IKVM.OpenJDK.Core"
                          publicKeyToken="13235d27fcbfff58"
                          culture="neutral" />
        <bindingRedirect oldVersion="8.1.5717.0"
                         newVersion="8.5.0.3"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>

enter image description here

0

There are 0 best solutions below