Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

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? #7835

Open
tiandian opened this issue Oct 22, 2019 · 3 comments

Comments

@tiandian
Copy link

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.

@jkotas
Copy link
Member

jkotas commented Oct 22, 2019

@loic-sharma
Copy link

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.

@jkotas
Copy link
Member

jkotas commented Oct 22, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants