Currently my razor view engine throws and error saying \"Please use language version 6 or higher\". That may just be resharper giving me a pointer. But how do i make razor u
Other answers are quite good, but I found a good and short article that definitively clarify the steps for this issue: https://cpratt.co/using-csharp-6-or-7-with-mvc-5/
In short:
In the Package Manager Console install Install-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform
checka/alters you Web.config with the following lines at the end: