In website’s NuGet window:
- Uninstall
Microsoft.CodeDom.Providers.DotNetCompilerPlatform - Re-install it
- In
web.config,
under:system.codedom > compilers > compiler,
changecompilerOptions=”/langversion:6 to 7
In website’s NuGet window:
Microsoft.CodeDom.Providers.DotNetCompilerPlatformweb.config,system.codedom > compilers > compiler,compilerOptions=”/langversion:6 to 7