Reference a .NET library on Universal Windows App

Matias Chaied 1 Reputation point

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?


Universal Windows Platform (UWP)
{count} votes

1 answer

Sort by: Most helpful
  1. Fay Wang - MSFT 5,201 Reputation points


    ​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.