Where to get a Roslyn compiler assembly?

1

Where can I get a Assembly ( .dll ) that contains CodeDom with the provider of .NET Compiler " Roslyn "? I have already tried to download a version here and it has many bugs, including poor performance and problems with running Assembly .

    
asked by anonymous 03.06.2015 / 04:13

1 answer

1

I'm using the package that is in Nuget without any problems, remembering that it's still a prerelease. You can follow development on GitHub .

If you are using Visual Studio, open the nuget command prompt and run:

Install-Package Microsoft.CodeAnalysis -Pre

If you want to download directly into the folder, download the nuget at link and run (the assemblies will be downloaded to the same folder as the nuget.exe is running):

nuget.exe Install Microsoft.CodeAnalysis -Pre

This is a bundle of all the following assemblies, you can download them separately and have some functionality:

  • "Microsoft.CodeAnalysis.CSharp.Workspaces" (C # compiler + services)

  • "Microsoft.CodeAnalysis.VisualBasic.Workspaces" (VB compiler + services)

  • "Microsoft.CodeAnalysis.Compilers" (both compilers)

  • "Microsoft.CodeAnalysis.CSharp" (C # compiler only)

  • "Microsoft.CodeAnalysis.VisualBasic (VB compiler only)

03.06.2015 / 05:07