I am trying to target .NET 4.6 and also take advantage of the latest C# version by changing the C# language version to 6.
However during compilation I got this error
Open NuGet Package Manager console and run this following command
Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r