corert
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?
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.
cc @vitek-karas @sbomer @jeffschwMSFT
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.
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.)