Install-Package Roslyn
I am happy to announce that the core C# and VB compiler assemblies from our first Roslyn CTP are now published as a NuGet package! The package name is... drumroll... ‘Roslyn’!
Aside: If you haven’t tried out NuGet yet, NuGet is definitely worth a try – it’s a simple to use but powerful package/library/dependency manager, and right now it’s the top free download in the Visual Studio 2010 Extension Manager:
Once you’ve installed NuGet, you can add the Roslyn package as a dependency to your project either using the Manage NuGet Packages dialog:
or the PowerShell-based command line called the Package Manager Console:
The Roslyn package contains the six core assemblies:
- Roslyn.Compilers.dll
- Roslyn.Compilers.CSharp.dll
- Roslyn.Compilers.VisualBasic.dll
- Roslyn.Services.dll
- Roslyn.Services.CSharp.dll
- Roslyn.Services.VisualBasic.dll
These are the exact binaries that we’ve shipped in the October 2011 CTP, packaged for your convenience. Note that the remaining content of the CTP, such as the IDE and refactoring support is not part of the package – you will still need the CTP to gain access to those.
Also please keep in mind that the license doesn’t allow you to redistribute the Roslyn binaries with your projects at this time. But that’s just common sense – the compilers are still at a pretty early (preview-only) stage with about half the language not supported yet. You wouldn’t want to ship these binaries to customers just yet, because we don’t even guarantee that whatever compiles produces correct IL!
I invite you to use the Roslyn forum if you have questions or feedback. Thanks!
Comments
Anonymous
December 29, 2011
Thanks for getting them on NuGet! Makes my life easier :)Anonymous
April 21, 2016
hi i needRoslyn.Compilers.dllRoslyn.Compilers.CSharp.dllRoslyn.Compilers.VisualBasic.dllRoslyn.Services.dllRoslyn.Services.CSharp.dllRoslyn.Services.VisualBasic.dll