corert icon indicating copy to clipboard operation
corert copied to clipboard

Is it possible to provide a tool to scan a c# project(and .net dll) to list all codes that are not compatible with corert?

Open tiandian opened this issue 6 years ago • 3 comments

For my asp.net core c# project, it's a bit complicated, and it references some third party dlls, after spend some time, i fixing some problems, now it can build with corert, but when run, it will error.

I don't know how many potential problems in my project are incompatible with corert.

So if you can provide a tool to scan my c# project, and list all codes that incompatible with corert, then i can modify all these codes before release it, otherwise, even if it can run now, there will still be potential errors.

If after fix all my c# project's incompatible problem, it still run error, then i know it must be some third party dlls are incompatible with corert, then i can disassembly the dll one by one to c# codes and scan it to find which one incompatible with corert, then submit a request to the dll's owner to compatible with corert.

Thanks.

tiandian avatar Oct 22 '19 17:10 tiandian

cc @vitek-karas @sbomer @jeffschwMSFT

jkotas avatar Oct 22 '19 17:10 jkotas

This tool could be run by the NuGet.org team on all packages to determine CoreRT compatibility. I'd be willing to help out if such a tool exists.

loic-sharma avatar Oct 22 '19 18:10 loic-sharma

We are looking into building a tool like this to determine il-linker compatibility. (It is not exactly the same as CoreRT compatibility, but very similar.)

jkotas avatar Oct 22 '19 18:10 jkotas