Microsoft "Roslyn" : An early preview of the APIs exposed by the C# and Visual Basic compilers in Visual Studio 11
Microsoft “Roslyn” CTP was designed as an extension for the Visual Studio 2010 SP1 and is a long lead project which is considered for the post-Visual Studio 11 timeframe. The CTP includes an early preview of the APIs exposed by the C# and Visual Basic compilers, and the Interactive window experience.Traditionally, compilers are black boxes - source code goes in one end, and object files or assemblies come out the other end. The Roslyn project changes that model by opening up the VB and C# compilers. The compilers provide APIs to allow tools and end-users to share in the wealth of information the compilers have about code. The Microsoft "Roslyn" CTP previews the new language object models for code generation, analysis, and refactoring, and the upcoming support for scripting and interactive use of C# and Visual Basic.The CTP installs the following items:
Visual Studio Project Templates
These project templates help you get started using the Roslyn APIs and building new Visual Studio extensions.
Reference Assemblies
The Roslyn assemblies that can be added to projects via the Add Reference dialog.
C# Interactive Window
A new tool window called C# Interactive is available in Visual Studio by invoking View -> Other Windows -> C# Interactive from the menu. You can explore by executing snippets of code in the C# Interactive tool window, cumulatively building up execution context as you experiment. In addition to typing directly into the tool window, you can also select code in C# and C# Script (.csx) files and invoke "Execute in Interactive" or "Copy to Interactive" from the context menu.
C# Script File Editing Support
C# Script (.csx) files allow top-level statements much like the C# Interactive window. You can create a new C# Script file by invoking File -> New File -> > Script -> Visual C# Script from the Visual Studio menu. C# Script editing features like IntelliSense are powered by the Roslyn Language Service.
Visual Studio SP1 2010 SDK / Visual Studio 2012 RC SDK
Microsoft "Roslyn" runs on
Windows 10/11
and is available under the
Freeware
license
— the installer is 10.8 MB.
We’ve catalogued it under
General.
Help fellow users decide. Share your experience with Microsoft "Roslyn".