.NET Compiler Platform ("Roslyn"): Analyzers and the Rise of Code-Aware Libraries |...

News

Extraordinary Robot
Robot
Joined
Jun 27, 2006
Location
Chicago, IL
We've rewritten (and open sourced!) the C# and VB compilers, and exposed their functionality through APIs as the .NET Compiler Platform. But what do these APIs mean for those who aren't compiler jocks?

Learn about diagnostic analyzers, a key new feature of Visual Studio 2015 that lets a NuGet package introduce custom warnings and errors to your build. Analyzers let a NuGet package easily introduce custom warnings and errors to your build, along with automatic fixes in the IDE. We'll walk through the thought process and development of a simple diagnostic and code fix for the Regex API to see what it's like to quickly build analyzers for an API.

njs.gif


Continue reading...
 
Back
Top Bottom