-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Bug]: NoWarn randomly get ignored in build #9133
Comments
Does the binlog show NoWarn being translated to MSBuildWarningsAsMessages in the test project? Difficult to find when the log is so large. |
@tarekgh I try to repro this issue locally on Mac arm64, when build with ./build.sh -subset tools+libs+libs.tests -rc checked -configuration Release -ci -arch arm64 -framework net8.0 /p:CrossBuild=true /p:ArchiveTests=true |
@ViktorHofer may help with this as the failure is in Microsoft.DotNet.HotReload.Utils.Generator.BuildTool |
@lambdageek @akoeplinger are the main contributors to hotreload-utils. Can you please take a look? |
Can you try removing the /p:CrossBuild=true ? It's not needed since you're building on arm64 for arm64 |
Remove that, but the same errors are still there. |
Info by @timmydo:
Btw. - the NETSDK1206 only shows as warning in that log: |
Issue Description
The runtime repo CI started randomly fail building projects which uses
NoWarn
and still the suppressed warning gets fired and breaks the build. The runtime issue showing such failures.Here is an example suppressing
NETSDK1206
and compilation produceserror NETSDK1206: Found version-specific or distribution-specific runtime identifier(s): alpine-x64. Affected libraries: SQLitePCLRaw.lib.e_sqlite3
.binlog
Steps to Reproduce
No specific steps as the CI randomly failing.
Expected Behavior
Projects suppressing the warning should build successfully without failing with the suppressed warning
Actual Behavior
The suppressed
NETSDK1206
produces randomly the error:error NETSDK1206: Found version-specific or distribution-specific runtime identifier(s): alpine-x64. Affected libraries: SQLitePCLRaw.lib.e_sqlite3
Analysis
msbuild have a problem not suppressing the warning.
Versions & Configurations
The runtime repo CI runs is using
.NET 8 P7 SDK
.The text was updated successfully, but these errors were encountered: