PreviousNext

.NET 5: How to enable .NET 5 runtime on console apps instead of .NET Core 3.1 ?

by anthonygiretti, 2021-01-22T22:27:02.210Z

You may have noticed it already, but when you create a console application with Visual Studio 2019, the default runtime is not .NET 5 but .NET Core 3.1! Why ? Because .NET 5 is not LTS and therefore Microsoft has intentionally chosen to offer the latest LTS version of .NET by default, ie .NET Core 3.1. In this article I show you how to select .NET 5 instead of .NET Core 3.1 without having to create a console application in .NET Core 3.1 and then change its runtime in the project properties afterwards.

Read More