Xamarin Studio Adds Roslyn Support

Xamarin Studio now supports Microsoft’s Roslyn compiler-as-a-service features found in Visual Studio 2015.  They’ve also announced a new project model that integrates with Microsoft’s MSBuild system.

In previous versions of Microsoft’s Visual Studio, they had their C# compiler, but they separately had to write and maintain all of the code that supplied Intellisense, refactoring, red-squiggles, etc.  Keeping that logic synchronized with the actual compiler was obviously tricky and duplicated work.  With VS2015, they cut over to Roslyn to allow the IDE to tap into the same end-stream compiler, ensuring consistency and eliminating duplicate work.  That seems to be what this early preview version of Xamarin Studio has tapped into as well. — John Garland

The specific benefits of this change include:

  • The behavior of code completion is more accurate and will work much better when a file contains syntax or semantic errors.
  • Refactoring operations cover more cases and are more reliable.
  • C# 6.0 is now fully supported for code completion and refactoring operations.
  • The formatting engine got replaced and it now defaults to the Visual Studio format. Indenting with spaces is easier and feels like tab based indenting.
  • Typing flow got improved and is now more fluid.
  • Code completion import symbol support greatly improved – will no longer interfere with the typing flow and it doesn’t have a performance impact

In addition to adding Roslyn support, they’ve also changed the project model to allow a deeper integration with MSBuild.  Features include conditional file/reference inclusion, project files can import other project files, and projects built in parallel when possible.

For more information on the latest Xamarin Studio Preview, read the Release Notes.  You can download the latest preview here.

Need Xamarin Help?

Xamarin Consulting  Xamarin Training

Rachel Snowbeck

Recent Posts

How to Navigate Azure Governance

 Cloud management is difficult to do manually, especially if you work with multiple cloud…

5 days ago

Why Azure’s Scalability is Your Key to Business Growth & Efficiency

Azure’s scalable infrastructure is often cited as one of the primary reasons why it's the…

3 weeks ago

Unlocking the Power of AI in your Software Development Life Cycle (SDLC)

https://www.youtube.com/watch?v=wDzCN0d8SeA Watch our "Unlocking the Power of AI in your Software Development Life Cycle (SDLC)"…

1 month ago

The Role of FinOps in Accelerating Business Innovation

FinOps is a strategic approach to managing cloud costs. It combines financial management best practices…

1 month ago

Azure Kubernetes Security Best Practices

Using Kubernetes with Azure combines the power of Kubernetes container orchestration and the cloud capabilities…

2 months ago

Mastering Compliance: The Definitive Guide to Managed Compliance Services

In the intricate landscape of modern business, compliance is both a cornerstone of operational integrity…

2 months ago