Where has the Code Analysis window gone?

Code AnalysisVisual Studio-2015Roslyn

Code Analysis Problem Overview


In Visual Studio 2013, I used the Code Analysis window to provide reports to both the Development and Management teams.

Code Analysis window in Visual Studio 2013

In Visual Studio 2015 Enterprise RTM, these errors have returned to the error window and I can no longer just see CA issues for a single project, or filter them by type.

Is there a way to bring the Code Analysis window back?

Code Analysis Solutions


Solution 1 - Code Analysis

Visual Studio Code Analysis has been merged with Intellisense and can now be viewed from the Error window. When you select "Build+Intellisense" or "Intellisense" your code analysis warnings will show up there. You no longer need to build your solution to see them there.

This is one of the perks of the new Roslyn based editor.

enter image description here

Setting it to Intellisense Only should show you your code Analysis Warnings and on the left there is now an option to select "Entire Solution", "Current Project", "Current Document" or "Open documents".

I personally really like the last option, as it works really well for people wanting to leave the campground cleaner than they found it.

If you add additional analyzers (through a vsix or Nuget), they show up as additional rules for Code Analysis.

You can add the "Category" column: enter image description here

And then filter by category: enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionNikolaiDanteView Question on Stackoverflow
Solution 1 - Code AnalysisjessehouwingView Answer on Stackoverflow