简体   繁体   中英

How can I check the compatibility of my app against .net core?

I have a asp.net app that targets 4.5.

I'm just curious to know if there is a quick way to check which libraries I am using that are not available in asp.net core and .net core. Just to get an idea of what I might need to replace/implement at a high level if I wanted to migrate to asp.net core and .net core.

There is the .NET Portability Analyzer which is a VS extension which reports on API compatability between of your code against various .NET target frameworks (which includes versions of .NET Core and .NET Standard).

To scan your nuget dependencies (using package.config which you can upload) to see if they are supported, not support, or supported in pre-release etc.. there is icanhasdot.net

I would suggest additionally running the analyzer tool against .NET Standard 2.0 / .NET Core 2.0 to see if it is worth waiting for, as it should be released in spring and will have many more APIs added back, it might cut your work out enough to warrant waiting.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM