Visual Studio 2015: Analyzers

Live Code Analyzers provide live errors and warnings depends on the code analysis rule in the editor itself. It is integrated with NuGet packages, where we can add new rules using NuGet. When we type our code, analyzers start providing recommendations and warning on the code we typed.

We can enable and disable the rule sets and also can set the action for each of the Ruleset. When we create any project using Visual Studio 2015, default Analyzers will get added to the project.


Right click on the Analyzer and select ‘Open Active Rule Set’ to change the rule set settings.


We can activate and deactivate the rules and also set the actions as Warning, Error, Info and so on.


Start typing on the editor and observe the error messages and warning appearing on the Error window.





About ambilykk

I am a Technology Evangelist on Microsoft Technologies. I am carrying the passion on Microsoft technologies specifically on web technologies such as ASP .Net and Ajax. My interests also include Azure and Visual Studio. Technology adoption and learning is my key strength and technology sharing is my passion.
This entry was posted in Visual Studio 2015 and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s