News

Microsoft "Roslyn" CTP Refresh Targets Visual Studio 2012 RC

The second hands-on look at Microsoft's upcoming compilers-as-a-service technology is now available to developers in a June 2012 Community Technology Preview.

Microsoft is re-architecting its C# and Visual Basic compilers as public APIs in a longstanding development project, codenamed "Roslyn." The first hands-on look at the compilers- as-a-service technology was available to developers as a Community Technology Preview (CTP) in October 2011.

On Tuesday, Microsoft released a "Roslyn" June 2012 CTP refresh that supports the Visual Studio 2012 Release Candidate and Visual Studio 2010 SP1. The Roslyn compiler and language services are not part of the Visual Studio 2012 release cycle, however. The purpose of the "Roslyn" June 2012 CTP is to get developer feedback.

Microsoft Corporate Vice President Jason Zander, who is in charge of Visual Studio, explained the timing of the release in his blog on Tuesday:

Replacing a compiler that is responsible for running a big chunk of the Internet and rich client applications is not something one does lightly. Our general approach for re-architecting the compilers is to complete them before entering a product cycle. That way, we can use them and ensure they have high quality throughout the cycle. Because of this, Roslyn is not shipping as part of Visual Studio 2012 and will ship in a future VS release instead. However, we want to enable anyone who has VS 2012 installed to explore the Roslyn APIs and use the C# Interactive Window. To allow this, the CTP refresh will install on both Visual Studio 2012 RC and Visual Studio 2010 SP1 (note that VS 11 Beta is not supported).

The "Roslyn" June 2012 CTP has breaking changes. CTP2 includes major API changes, additional language features and code samples, according to Microsoft. The first CTP previewed the new language object models (code generation, analysis and refactoring), an interactive C# Window and an upcoming Scripting API.

Anthony D. Green, Microsoft program manager for the Visual Basic and C# languages team, offered a detailed outline of what's new in CTP2. Work has been done on the Compiler, Service and Services Editor APIs. Microsoft has also implemented more language features, and the list this time is longer for Visual Basic than C#. Updates to both languages include support for Anonymous Types, Attributes, Generic Constraints and Query Expressions among other features.

"While the shape of the public API is complete, only a subset of the VB and C# languages have been implemented at this time," stated Green as a disclaimer in his What's New in the Roslyn June 2012 CTP post on the Microsoft "Roslyn" CTP Forum.Get the Roslyn June 2012 CTP download here.

About the Author

Kathleen Richards is the editor of RedDevNews.com and executive editor of Visual Studio Magazine.

comments powered by Disqus

Featured

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube