How do you prevent Visual Studio from switching to the Code Analysis tab after each build?

前端 未结 3 694
渐次进展
渐次进展 2021-01-01 08:44

After each build, Visual Studio 2012 switches from the Solution Explorer to the Code Analysis tab, usually with the yellow \"No code analysis issues were detected.\" (Might

3条回答
  •  天涯浪人
    2021-01-01 09:19

    Just found very helpful blog post about your issue Temporarily disable the C# static code analysis for a whole VS instance.

    Also I have found way to permanently disable Code Analysis for all VS 2012 instances: You need to add Windows environment variable with name "DevDivCodeAnalysisRunType" and value "Disabled" (all without quotes). There is helpful post about Windows environment variables How To Add/Edit Environment Variables in Windows 7.

    Hope that helps.

提交回复
热议问题