Visual Studio 2017 – .net 4.5.2 – The compiler failed with error code 255.

This gave me the reason to start blogging again – just with the hope that a single developer might get some extra moments doing fun coding instead of analysing this horrible error …. it took me some useless IIS and permission experimenting before stumbling upon this solutijon.

http://stackoverflow.com/questions/32282880/publish-website-without-roslyn

“When you create a new web project, two nuget packages automatically added to your project. If you remove them, your problem should be solved. Package names are: “Microsoft.CodeDom.Providers.DotNetCompilerPlatform” and “Microsoft.Net.Compilers”.

5 thoughts on “Visual Studio 2017 – .net 4.5.2 – The compiler failed with error code 255.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s