Roslyn features in Visual Studio 2015 Preview

2015-04-17

Introduction

Release of Visual Studio 2015 Preview includes new version of C# and VB.NET compilers called "Roslyn".
Roslyn is a complete rewrite of C# and VB.NET compilers; if previously they were written in C++, now C# compiler is written in C#, and VB.NET compiler - in VB.NET respectively. Also Roslyn is fully open sourced and available on GitHub.
When using the previous compiler, developer couldn't affect the compilation process. New compiler follows the idea of Compiler-as-a-Service: now it's a platform with API that allows the developers taking part in the compilation process.


Benefits

Refactoring becomes much easier. Developers of Visual Studio extensions can use the infrastructure of Roslyn to not waste their time on writing parsers and analyzers.
Roslyn can be used in .NET applications to compile and execute dynamically generated code.
Roslyn can greatly help in translating C# code to another programming language.


New features based on Roslyn in VS 2015

Unused «using» directives are highlighted by gray color.

 

Ctrl+. now contains the preview window that allows developers evaluating the result of the command.

 

The menu Ctrl +. collected new commands to solve problems with the code and refactoring commands.

 

Added new commands for refactoring: Inline temporary variable and Introduce local.

 

Preview is available in renaming interface and it shows messages about possible errors.

April 09, 2024

How to work with FastReport Avalonia on .NET 8 in Visual Studio Code for Linux

In this article, we will look at how to run FastReport Avalonia on .NET 8 on the Linux operating system using Visual Studio.
March 26, 2024

How to work with FastReport Avalonia on .NET 8 in Visual Studio for Mac

In this article, we will explain in detail how to run FastReport Avalonia on the MacOS operating system using the Visual Studio IDE.
November 08, 2023

How to connect FastReport using a WPF application

Detailed instructions for connecting FastReport to a WPF application without using WinForms components from FastReport .NET.
Fast Reports
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 901 N Pitt Str #325 Alexandria VA 22314

© 1998-2024 Fast Reports Inc.