.NET Standard for C# 9.0

access_time 2 months ago visibility9 comment 0

In many solutions, .NET standard has been used to share code between .NET Framework and .NET Core projects. Since the release of .NET 5, you probably will think what is the .NET standard version for C# 9 language features.

Well, the answer is simple - there is no need to have another version of .NET Standard such as .NET Standard 3 or .NET Standard 5. The reason is that .NET 5 and its future versions are the unified .NET which can run all the supported platforms.

Current .NET Standard Project

The following project utilizes .NET Standard 2.1.

<Project Sdk="Microsoft.NET.Sdk">

Change to .NET 5

To utilize the new language features in C# 9.0, just simply change the target framework to .NET 5:

<Project Sdk="Microsoft.NET.Sdk">


copyright This page is subject to Site terms.
Like this article?
Share on

Please log in or register to comment.

account_circle Log in person_add Register

Log in with external accounts

Want to publish your article on Kontext?

Learn more

Kontext Column

Created for everyone to publish data, programming and cloud related articles.
Follow three steps to create your columns.

Learn more arrow_forward

More from Kontext

local_offer C# local_offer .NET

visibility 178
thumb_up 0
access_time 12 months ago

JSON is commonly used in modern applications for data storage and transfers. Pretty much all programming languages provide APIs to parse JSON. 

Machine Learning with .NET in Jupyter Notebooks

local_offer plot local_offer machine-learning local_offer jupyter-notebook local_offer C# local_offer dotnetcore

visibility 818
thumb_up 0
access_time 11 months ago

In this article, I'm going to show you how to install Jupyter in Windows and then install .NET kernel for Jupyter notebooks. It also shows a machine learning example using ML.NET. The target audience are .NET developers who want to expand their skills in data engineering and science domain with ...

local_offer .NET local_offer ASP.NET local_offer asp.net core 2 local_offer dotnetcore

visibility 704
thumb_up 0
access_time 4 years ago

Before Visual Studio 2017 was released, I was implementing my ASP.NET Core project using VS2015. TFS2015 is used for Continuous Build and Deployment for my projects. After migrating to VS2017, there are couple of issues I encountered in my environment: VS2017 has abounded the JSON project file ...

About column

Everything about .NET framework, .NET Core and .NET Standard. 

rss_feed Subscribe RSS