Reference a .NET library on Universal Windows App

Matias Chaied 1 Reputation point
2019-12-18T13:12:07.487+00:00

Hi everyone,

I'm new on the universal windows applications, and i have to do a UW app that need to have a interop with Java. So in .NET i make the interop by adding the library of IKVM, but this library is written in .NET framework.

How im supposed to add this reference to the dll of IKVM on the Universal Windows app?

Thanks!

Universal Windows Platform (UWP)
{count} votes

1 answer

Sort by: Most helpful
  1. Fay Wang - MSFT 5,191 Reputation points
    2019-12-19T05:55:17.403+00:00

    Hello,​

    ​Welcome to our Microsoft Q&A platform!

    In UWP, you can not directly reference the .NET framework library, you can try to create a .NET Standard library project that can reference your dll and then reference this .NET Standard project to your UWP app.

    In addition, here is a IKVM Nuget package, you could try to download it and directly use it in UWP app to see if it could interact with java.