Skip to content

Add RazorWarningLevel#40720

Closed
jjonescz wants to merge 1 commit intodotnet:mainfrom
jjonescz:razor-warnwaves
Closed

Add RazorWarningLevel#40720
jjonescz wants to merge 1 commit intodotnet:mainfrom
jjonescz:razor-warnwaves

Conversation

@jjonescz
Copy link
Member

@jjonescz jjonescz commented May 7, 2024

Adds support for RazorWarningLevel (similar to C# WarningLevel) - so the razor compiler can report new warnings on existing code and users will be able to turn those warnings off to avoid breaking their builds.
Related to dotnet/razor#10346.

I plan to add a test once razor official builds work again so I can flow a razor build here to test it in CI.

@ghost ghost added Area-AspNetCore RazorSDK, BlazorWebAssemblySDK, StaticWebAssetsSDK untriaged Request triage from a team member labels May 7, 2024
@dotnet-policy-service
Copy link
Contributor

Thanks for your PR, @jjonescz.
To learn about the PR process and branching schedule of this repo, please take a look at the SDK PR Guide.

@Frulfump
Copy link

Any news for this PR seems like a nice feature

@jjonescz
Copy link
Member Author

Any news for this PR seems like a nice feature

Once we want to introduce a new warning that would break existing code, we would use this feature for it, but currently we don't.

@github-actions
Copy link
Contributor

Due to lack of recent activity, this PR has been labeled as 'Stale'. It will be closed if no further activity occurs within 7 more days. Any new comment will remove the label.

@github-actions github-actions bot added the stale label Dec 20, 2025
@jjonescz jjonescz closed this Dec 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-AspNetCore RazorSDK, BlazorWebAssemblySDK, StaticWebAssetsSDK stale untriaged Request triage from a team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants