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
More Related Contents:
- Predefined type ‘System.ValueTuple´2´ is not defined or imported
- ASP.NET Core: Exclude or include files on publish
- Passing data from one desktop/web application to another desktop app
- c# asp.net delete last comma [closed]
- Days between two dates in asp.net
- Finding the variable name passed to a function
- The name ‘controlname’ does not exist in the current context
- Sharing sessions across applications using the ASP.NET Session State Service
- Entity Framework Timeouts
- Read SQL Table into C# DataTable
- Plus sign in query string
- If a folder does not exist, create it
- How can I fix the Microsoft Visual Studio error: “package did not load correctly”?
- MVC which submit button has been pressed
- Visual Studio 2015 not syntax highlighting razor nor Intellisense
- System.Web.HttpContext.Current.User.Identity.Name Vs System.Environment.UserName in ASP.NET
- The request was aborted: Could not create SSL/TLS secure channel
- How can I add option groups in ASP.NET drop down list?
- Top level domain from URL in C#
- Get Row Index on Asp.net Rowcommand event
- SignalR doesn’t use Session on server
- onchange event for html.dropdownlist
- How to force BundleCollection to flush cached script bundles in MVC4
- How do I inject ASP.NET 5 (vNext) user-secrets into my own utility class?
- Running an asynchronous operation triggered by an ASP.NET web page request
- When Should I Use Response.Redirect(url, true)?
- Could not load file or assembly ‘System.Web.Helpers, error on IIS 8
- Why does HttpWebRequest throw an exception instead returning HttpStatusCode.NotFound?
- Conditional Logic in ASP.net page
- See if user is part of Active Directory group in C# + Asp.net