你的位置: 码友网首页 / 资讯源列表 / .NET 5: How to enable .NET 5 runtime on console apps instead of .NET Core 3.1 ?

关于[.NET 5: How to enable .NET 5 runtime on console apps instead of .NET Core 3.1 ?]的摘要:

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.

原文地址: https://anthonygiretti.com/2021/01/24/net-5-how-to-enable-net-5-runtime-on-console-apps-instead-of-net-core-3-1/

收录时间: 2021-01-26 浏览量: 1238 分类: .NET 5

| 0 收藏 | 0