-
Notifications
You must be signed in to change notification settings - Fork 2k
Don't unpack netstandard workload packs (fix nightly vs-workload.props MSB4019) #36089
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
Merged
PureWeen
merged 3 commits into
inflight/current
from
pureween-fix-nightly-vs-workload-props
Jun 25, 2026
+25
−3
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 💡 Discussion (non-blocking) — two follow-ups on this guard
The guard itself is correct:
Directory.Build.targetsis auto-imported at the end of every project, so$(IsPackable)is already populated when this condition evaluates — an explicit<IsPackable>true</IsPackable>set earlier survives, while netstandard libraries that never set it still default to non-packable. 👍Two things worth confirming for the record:
Blast radius is wider than the description's "2 workload packs." A repo-wide grep for explicit
<IsPackable>true</IsPackable>on single-TFMnetstandardprojects shows this guard restores packability for ~6 projects —Microsoft.Maui.SdkandMicrosoft.NET.Sdk.Maui.Manifest(described), plusResizetizer,Controls.Build.Tasks,Controls.SourceGen, andGraphics.Text.Markdig. This matchesmain's behavior (which is green), so it's almost certainly intended — but worth an explicit confirmation since they'll now ship again.Forward-port. PR Don't pack .NET Standard #32203 (the blanket
netstandard → IsPackable=falserule, commit543b1ebeb7) is oninflight/currentonly and is not an ancestor ofmain/net10.0. When Don't pack .NET Standard #32203 forward-ports, thisand '$(IsPackable)' == ''guard must travel with it, or the same MSB4019 nightly break reappears.— 3-model consensus (Opus 4.8 / GPT-5.5 / Gemini 3.1 Pro).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed — the wider blast radius is intended. The guard restores packability for the 6 netstandard-only opt-in projects (the 2 workload packs +
Resizetizer,Controls.Build.Tasks,Controls.SourceGen,Graphics.Text.Markdig), which exactly matchesmain, where #32203's blanket rule never existed. So this is amain-parity restore, not new shipping behavior.Good catch that #32203 was over-broad: the workload/MSI leg just failed loudest (the missing-file import is fatal at evaluation → MSB4019), while the other four would have silently stopped packing on
inflight/current.Updated the PR description with a Scope / blast radius table reflecting all 6 projects. Forward-port acknowledged — the
'$(IsPackable)' == ''guard must travel with #32203 when it lands onnet10.0/main, or the break reappears.