Visual Studio extension for evaluating expressions at edit time
- Install Visual Studio 2015 Comunity
- Tools -> Extensions and Updates... -> Online -> search for "expression viewer"
- or look in the Visual Studio galery: https://visualstudiogallery.msdn.microsoft.com/9e4feaed-0365-49ef-905a-66bd0e414618
- Install Visual Studio 2015 Comunity
- Start VS -> File -> New Project -> Extensibility
- Download the .NET Compiler Platform SDK
- Clone this repo
- Open ExpressionViewer.sln
- Tools -> NuGet Package Manager -> Package Manager Console
- make sure the default project is Extension
- Install base Roslyn package
- Install-Package Microsoft.CodeAnalysis.Common -Version 1.0.0
- Install Roslyn for C# projects
- Install-Package Microsoft.CodeAnalysis.CSharp.Workspaces -Version 1.0.0
- Change the default project to ExpressionViewerTests
- Install the same two packages again
- Just press the Run button or run tests
A small dialog that can be used to interactively inspect the syntax tree of your C# code. It cames with .NET Compiler Platform SDK.
It can be used to generate code that builds a C# syntax tree. It's usefull when a large piece of code needs to be generated or when someone is not familiar with the Roslyn API. http://roslynquoter.azurewebsites.net/
.NET assembly decompiler and browser. http://ilspy.net/