# Removing roslyn from ASP.NET 4.5.2 project template

Published: 2015-08-29
Last updated: 2017-11-25

If you're using VS 2015 for development, ASP.NET projects now use Roslyn by default. The host I use as a test server doesn't support Roslyn / C# 6.0 yet. Though the website gets published successfully (using Web Deploy), I end up with an Internal Server Error.

According to [this](http://blogs.msdn.com/b/webdev/archive/2014/05/12/enabling-the-net-compiler-platform-roslyn-in-asp-net-applications.aspx), roslyn support is added using a nuget package. So the first thing to do, is to remove the package. Open the Package Manager Console and type the following one line at a time:

```bash
uninstall-package Microsoft.CodeDom.Providers.DotNetCompilerPlatform
uninstall-package Microsoft.Net.Compilers

```

Now, remove the following code from web.config:

```markup
  

```

That's it.

Obviously, your code shouldn't be using any C# 6 feature at this point.

