Home > database >  Is there a .net 6 equivalent System.Console assembly
Is there a .net 6 equivalent System.Console assembly

Time:11-02

On NuGet.org there is only a very old System.Console package targeting .net Framework 4.6 but no one for .net 6.

Is this last version 4.3.1 from 2018 still valid for .net 6 or is it part of another assembly?

CodePudding user response:

System.Console is built into the base framework for any project targetting Microsoft.NET.Sdk in .NET 6 & 7 (and probably back to at least 3.1, but don't have anything open to check).

You don't need any additional dependencies for console output.

CodePudding user response:

It is a valid version but there is no need to install it in general. It seems that the package is introduced for .NET Standard support but with later version frameworks it comes with BCL.

  • Related