Repository navigation
Conversation
Co-authored-by: AArnott <3548+AArnott@users.noreply.github.com>
Co-authored-by: AArnott <3548+AArnott@users.noreply.github.com>
|
Addressed in 73287a7. Forwarded severity lists now contain only canonical I kept task-side suppression: Microsoft’s NuGet tasks explicitly filter Release build and cloud tests passed (1,374 passed, 13 skipped); CodeQL found no alerts. |
| message: "Git information is unavailable because the git engine is disabled. Git-related MSBuild properties and ThisAssembly members contain placeholder values."); | ||
| if (this.NoWarn?.Contains(UnavailableGitWarningCode, StringComparer.OrdinalIgnoreCase) != true) | ||
| { | ||
| this.Log.LogWarning( |
There was a problem hiding this comment.
Where do we honor MSBuildWarningsAsMessages?
|
MSBuild handles the downgrade when
The screenshot identifies |
C# Doctor reports NBGV1001 despite project-local suppression or downgrade settings because cached version computation runs in a separate project without those settings.
NoWarnandMSBuildWarningsAsMessages/AsErrors/NotAsErrorsto the cached project, preserving semicolon-delimited lists.NoWarnwhen emitting NBGV1001 without changing placeholder values.Suppress the warning in a project or
Directory.Build.props:Use
MSBuildWarningsAsMessagesinstead to retain the diagnostic as a message.