Some tricks with NET 6.0

IDE: Visual Studio 2022

Hide Warning Code

Open .csproject file, add this line below into the <PropertyGroup>

<NoWarn>$(NoWarn);1591</NoWarn>

In there: 1591 is the Code show in Error List

Hư Trúc