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

<WarningLevel>0 should work also for "Information" diagnostics, tests extended #15608

Merged
merged 4 commits into from
Jul 18, 2023

Conversation

T-Gro
Copy link
Member

@T-Gro T-Gro commented Jul 17, 2023

The issue #15375 mentioned that warn:0 did not work for Informational messages.

The setting can be enabled:
--warn:0 fsc.exe CLI flag
<WarningLevel>0</WarningLevel> in .fsproj properties

This does suppress the warnings for tests, full build as well as for VS diagnostics.

@T-Gro T-Gro requested a review from a team as a code owner July 17, 2023 13:24
@T-Gro T-Gro linked an issue Jul 17, 2023 that may be closed by this pull request
@T-Gro T-Gro marked this pull request as draft July 17, 2023 13:37
@T-Gro T-Gro changed the title <WarningLevel>0 does work, tests extended <WarningLevel>0 should work also for "Information" diagnostics, tests extended Jul 17, 2023
@T-Gro T-Gro marked this pull request as ready for review July 17, 2023 13:58
@T-Gro T-Gro requested a review from nojaf July 17, 2023 17:26
@psfinaki psfinaki merged commit c271484 into dotnet:main Jul 18, 2023
@T-Gro T-Gro deleted the 15375-warn0-still-shows-warnings branch July 18, 2023 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

--warn:0 still shows warnings
4 participants