Click or drag to resize

Welcome to the .NET Compiler Platform ("Roslyn")



Welcome to the .NET Compiler Platform ("Roslyn")

Introduction

The .NET Compiler Platform ("Roslyn") provides open-source C# and Visual Basic compilers with rich code analysis APIs. It enables building code analysis tools with the same APIs that are used by Visual Studio.

This is an unoficial reference documentation, in lack of an official one

Microsoft made a community technology preview (CTP) available for public download in October 2011. It installs as an extension to Visual Studio 2010 SP1.

The CTP was updated on September 2012[5] to include many updates to the Roslyn APIs introduced in the June 2012 and October 2011 CTPs, including breaking changes.[6] While the June 2012 CTP API is complete for the compilers, not all features have been implemented for the C# and VB.NET languages.

At the Build 2014 conference in San Francisco April 2014, Microsoft made the "Roslyn" project open-source and released a preview of the language integration for Visual Studio 2013. As of April 3, 2014, Roslyn is under the Apache License 2.0.[8] The project was effectively transferred under the stewardship of the newly founded .NET Foundation.[9] At the same conference, Xamarin announced that they are working on integrating the new compilers and tools in Xamarin Studio.

The compilers are not feature-complete in this release. Each of the compilers contains features that are planned for the coming language versions (C# 6 and Visual Basic.NET 13). The APIs are also available through the NuGet package manager.

On January 2015[10] Microsoft moved the Roslyn source code from CodePlex to GitHub.

See Also

Other Resources