How do I disable all Roslyn Code Analyzers?

后端 未结 5 549
一生所求
一生所求 2020-12-30 20:25

I\'m trying to work with a large opensource project that has a handful of Roslyn Code Analyzers. When I open the solution Visual Studio uses ~35% CPU for about 15 minutes. U

5条回答
  •  春和景丽
    2020-12-30 21:24

    Try a combo of the following in your csproj or Directory.Build.props files

    false
    false
    false
    

    https://docs.microsoft.com/en-us/visualstudio/code-quality/disable-code-analysis?view=vs-2019#net-framework-projects

提交回复
热议问题