Visual Studio Code – How to enable code analysis IDE0058 as a build error?
I want to enable IDE0058 as an error during build. Here's how I attempted to do that. Start Visual Studio 2022 (Version 17.11.2) Create new project. Project type: C#, Windows, Console -> Console App "A project for creating a command-line…