Soner B
Soner B

Reputation: 311

What is the difference between .NET and .NET Framework project types?

When I try to create a new project there is a different type of choises.

Windows Forms App (.NET) and Windows Forms App (.NET Framework)

Is ".NET" like .NET Core?

enter image description here

Upvotes: 0

Views: 3412

Answers (2)

niek tuytel
niek tuytel

Reputation: 1179

Please keep in mind that .NET framework has not been supported anymore by Microsoft!

Upvotes: 1

Dark Daskin
Dark Daskin

Reputation: 1484

.NET Framework templates use legacy project file format which lists every file and cannot be edited without unloading. As the name says, they are only compatible with .NET Framework. Visual Studio will allow you to choose .NET Framework version.

.NET templates use modern project file format which is much shorter and can be edited without unloading. Visual Studio will allow you to choose .NET/.NET Core version (they just removed Core suffix starting from version 5). Also this project format is compatible with .NET Framework, but you need to specify it in project file manually (you can also specify multiple .NET versions).

The modern project file format is preferred unless you need features of the old format. As far as I know, the only thing you lose when you use this format is ability to reference assemblies from GAC or its extensions.

Upvotes: 2

Related Questions