dotnet / razor

Compiler and tooling experience for Razor ASP.NET Core apps in Visual Studio, Visual Studio for Mac, and VS Code.
https://asp.net
MIT License
505 stars 196 forks source link

There should be a warning for select pairs of Razor Language version and C# language version #9938

Open phil-allen-msft opened 9 months ago

jjonescz commented 9 months ago

I'm not sure what this means; can you give an example?

chsienki commented 9 months ago

@jjonescz This came up in the working group yesterday. Essentially, we want to be able to warn if you for example choose Razor Lang Ver 8, but drop the C# version to 9.

We want to enforce a minimum required C# version for a given razor lang ver.