简体   繁体   中英

Difference between .NET Framework versus .NET Standard?

My apologies if this question is a bit naive but how can you tell if a project is in .NET Framework versus .NET Standard. I have a project that was originally written in .NET Framework 4.+ and have been asked to confirm that it has been updated to .NET Standard. How would I be able to determine this?

.Net Framework is the original version of .Net that is dependent on the Windows operating system. .Net Standard is a compatability API that was created to allow assemblies (the .net term for .dll files), to be compiled for either .Net Framework or .Net Core (.Net Core is the new version of .Net that can be run on either windows or Linux).

.Net Standard provides a slightly smaller API that doesn't have some of the platform specific features in it. The current version of .Net Standard is 2.1.

You can test an assembly to see if it can be switched to .Net Standard using the .Net portability analyzer .

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