Updating nuget packages worked for me Right click on the solution > Manage NuGet packages for solution and update all the packages and specially:Microsoft.Net.Compilersand Microsoft.CodeDom.Providers.DotNetCompilerPlatform
↧
Updating nuget packages worked for me Right click on the solution > Manage NuGet packages for solution and update all the packages and specially:Microsoft.Net.Compilersand Microsoft.CodeDom.Providers.DotNetCompilerPlatform