Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the latest configuration actually be somewhat recent #8906

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

davidwengier
Copy link
Member

Fixes #8572

I don't know why the fallback configuration is being used, so logged #8905 to investigate that further. This mitigates the problem though.

@@ -40,7 +40,11 @@ internal class FallbackRazorConfiguration : RazorConfiguration
"MVC-3.0",
new[] { new FallbackRazorExtension("MVC-3.0"), });

public static readonly RazorConfiguration Latest = MVC_3_0;
public static readonly RazorConfiguration Latest = new FallbackRazorConfiguration(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does anyone know how "MVC versions" are expected to map to "Razor language versions"?

I can't tell if they are separate concepts, or this file is just old, and missing everything between 5 and 8. The MVC versions that are in this file seem to line up with RazorLanguageVersion entries.

@danroth27? @NTaylorMullen?

@davidwengier davidwengier merged commit ac7208c into dotnet:main Jul 5, 2023
@davidwengier davidwengier deleted the LatestConfig branch July 5, 2023 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@typeparam where is not being recognized
2 participants