Monday, June 25, 2018

DllImport in Dot Net Core

I've been looking into using DllImport in Dot Net Core and it seems that it does not as of yet support resolving the native library automatically. I did find this issue that's been covering the problem: https://github.com/dotnet/coreclr/issues/930

But the suggested solution to use an assembly load context seems like it won't work with assemblies that are loaded automatically, and there are no examples that show it being used for anything like this.

Does anybody know if there has been discussion about this problem outside of that issue, and if a solution is being developed?

DllImport in Dot Net Core Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team