0

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

4
  • 3
    Shortly: .net framework projects are big and ugly, .net are small and cute. You can create both and see difference opening both with notepad. You should always prefer .net projects Commented Mar 23, 2021 at 7:31
  • 2
    Seems like .NET Framework is the standard framework (up to version 4.*) and .NET is the version 5 which united standard and core Commented Mar 23, 2021 at 7:32
  • Just select it, type a project name and you will see in the final step the version number or in the project properties after the creation Commented Mar 23, 2021 at 7:43
  • 1
    See devblogs.microsoft.com/dotnet/introducing-net-5 for info on the rebranding of .NET Core. Commented Mar 23, 2021 at 19:33

2 Answers 2

2

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

Sign up to request clarification or add additional context in comments.

Comments

1

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.