Share via


What is the "roslyn" folder?

Question

Wednesday, December 9, 2015 1:09 PM

I recently began using Visual Studio 2015 and I noticed, when I deploy, that I now need a folder called "roslyn" (and its contents) inside the BIN folder of my web applications. I know nothing about this folder. What is it? Why is it needed? Thanks.

All replies (4)

Wednesday, December 9, 2015 1:29 PM ✅Answered

It contains the Roslyn compilers. https://github.com/dotnet/roslyn


Thursday, December 10, 2015 6:52 AM ✅Answered

Hi rgcazo,

What is the "Roslyn" compiler? Why is it needed?

This release of Visual Studio contains a new version of C# & VB.net compilers code named “Roslyn”.

Roslyn is a complete rewrite of the C# and VB.net compilers with each written in their respective language for example the C# compiler is written in C# rather than C++.  Roslyn is open source (Roslyn on GitHub) so you could even theoretically create your own version of C# or VB.net!

What would become Roslyn, was first mentioned way back in 2008 by Anders Hejlsberg at the PDC conference however it wasn’t until 2011 that the first preview was released.

You could refer to the following links to get more detailed information about your problem.

https://gooroo.io/GoorooTHINK/Article/16253/Visual-Studio-2015-and-Roslyn-Compiler/17944#.VmkfwjaheM8

https://visualstudiomagazine.com/articles/2012/03/20/10-questions-10-answers-on-roslyn.aspx

I hope it's helpful to you.

Best Regards,

Klein zhang


Wednesday, December 9, 2015 3:53 PM

Ok, but that doesn't really help me. What is the "Roslyn" compiler? Why is it needed?


Thursday, December 10, 2015 7:18 AM

What is the "Roslyn" compiler?

I provided the link to the project page so that you could do some research if you needed to.