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

  • See Prompts Microsoft Engineers Use for Bleeding-Edge Multimodal RAG AI Research

    Vision-centric queries show how front-line experts are prompting LLMs these days.

  • AI Explains Expressions in Update to Java on VS Code

    "The Spring Tools now show code lenses above these expressions that allow you to quickly let GitHub Copilot explain those statements for you."

  • Microsoft Eases Integration with Semantic Kernel AI SDK

    The basic idea is to provide unified API abstractions, especially for idiomatic C# code, to help platform developers and others work with any provider with standard implementations for caching, telemetry, tool calling and other common tasks.

  • Final .NET 9 Preview Ships with Go-Live License

    Visual Studio developers can now download the SDK for .NET 9 Release Candidate 2 with a go-live license, meaning devs get Microsoft support for production applications even before the framework reaches general availability next month.

Subscribe on YouTube