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

News

Extraordinary Robot
News Feed
#1
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.



Continue reading...
 


This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.