Exclude folders or files from Visual Studio project

A post was split to a new topic: Exclude generated code from analysis in SonarLint