Closed mellinoe closed 6 years ago
Thanks for reporting it! We don't track this anywhere because we didn't hit it yet. Seems like this is from a calli
to a p/invoke. I'll have a look if we can do something easy there in the next couple of days.
Seems like this is from a calli to a p/invoke.
Yes, that's likely, and it's probably from this library. If that's the case, then a simpler repro could probably be created from that package alone.
Small update: I checked again and this is indeed caused by the above library. SharpDX hits the same issue since it also uses calli
directly.
@MichalStrehovsky +1, can't use SharpDX due this :-\
@MichalStrehovsky +1 we are hitting this issue aswell in our project. Would greatly appreciate a fix
@mellinoe @Krakean @feliwir The CoreRT packages with the fix are available now. Please give it a try and please let us know if you run into other blocking issues for you project.
@jkotas I get a lot further now, and most of my code works. I still have an issue with SharpDX which I filed over in #6042 .
I was trying to compile this project with CoreRT: https://github.com/mellinoe/veldrid/tree/master/src/NeoDemo.
I added the latest
Microsoft.DotNet.ILCompiler
package and simply randotnet publish -r win-x64
.Any plans to implement this functionality, or is it tracked anywhere else? I searched briefly but didn't find anything.