I have multiple old ASP.NET webforms websites (this is how to create one from scratch):
They are not Website Projects.
ASP.NET Websites seem to be stuck at C# 5. When trying to use features from c# 6 or C# 7 you get an error:
Trying to use the light bulb upgrade option fails:
Trying any of the other options found at https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/configure-language-version fail too since there is no .csproj file. or an option in the Project Properties page to change the language version.
Here is what the Build tab looks like on an ASP.NET Website (no Advanced button):
I installed the Microsoft.Net.Compilers NuGet package but that made no difference.
Any Ideas if this can be done at all in an ASP.NET website?