Sunday, February 02, 2014

Roslyn and Visual Studio

Roslyn with the last public preview released in September 2012 is described as, Microsoft's 'compiler as service' project (new language object models for code generation, analysis, and refactoring, and the upcoming support for scripting and interactive use of C# and Visual Basic). It appears Roslyn is being used internally by Microsoft and is in the process of being 'solidified'.

Rosalyn will create APIs for the compiler which is no longer a blackbox  - the Visual Basic and C# compilers being written in C# instead of C++.

Presently the only version of Visual Studio you can use with 'Roslyn' is Visual Studio 2012. The September 2012 CTP can be downloaded here: - get this file:

RoslynSetup.exe (10.8 MB)

The CTP supports all of the following:

  • You can use the VS Project templates to get started with the RoslynAPIs and build new VS Extensions
  • Provides assemblies that you can add to your project
  • C# interactive window 
  • C# Script File Editing Support

This image is an example of interactive C# taken from,

Read about script support here:

I look forward to the next update.

No comments: Protection Status