-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Enable servicing features without stabilizing the build in blazor-wasm #18280
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
Conversation
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.
Looks good but two template test failures look real e.g.
error NU1603: Microsoft.AspNetCore.Components 3.1.0-ci depends on Microsoft.AspNetCore.Authorization (>= 3.1.0-ci) but Microsoft.AspNetCore.Authorization 3.1.0-ci was not found. An approximate best match of Microsoft.AspNetCore.Authorization 3.1.0-preview1.19465.3 was resolved.
CC @pranavkm @javiercn @JunTaoLuo - this should let us publish all the blazor-wasm stuff to the blazor-wasm feed, once I get the tests working. Note that you'll have to manually flip the "stable" bit back to true when you want to ship stable. |
I guess. I don't know what this PR means 😿 |
Theoretically this should work but the template tests says otherwise. |
This would be because the package for |
Likely related to aspnetcore/src/Components/Components/src/Microsoft.AspNetCore.Components.csproj Lines 34 to 44 in 05f2430
|
Something more sinister going on here - we're not building against baseline versions because |
@wtgodbe I'm not super sure how this works, tbh. I'm looking at you for ideas/proposals. As long as the assemblies we build reference the latest released patch for the 3.1 train, we are good. |
I have an idea for a fix here, which will involve updating the baseline files, enabling servicing features in this branch, and fixing package version resolution for the template tests. I understand today is code complete for preview1, so I'll get the fix in for preview2. Preview1 is built against 3.1.0 packages. |
@dougbu can you PTAL? Might be some more to be done here to achieve the goal, which is to always build against the baseline, except for blazor projects referencing each other. |
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.
Suspect you need to back up a bit on our various servicing changes
- restore PatchConfig.props and update it to contain the packages we actually want to ship from this branch (I suggest unconditionally so the file doesn't need to change unless we add new packages)
- set
$(IsPackageInThisPatch)
using that file (restoring old logic in Directory.Build.*) - change the condition at https://github.com/dotnet/aspnetcore/blob/blazor-wasm/Directory.Build.targets#L73 to use the baseline version in this branch -- despite
$(IsServicingBuild)
beingfalse
Please ping when the validation builds start looking better |
Could be that |
Looks like the projects in question were transformed to |
Before my change, calling |
Ah, it's because I've moved the conversion of |
8f15faf
to
29ea69f
Compare
Superseded by #18894 |
WIP of using servicing features without stablizing.
Right now, every build of the
blazor-wasm
branch is marked stable, which means every build publishes packages to a unique feed. The goal is to have all blazor-wasm packages published to one feed (except when we actually want to build stable packages). We still need to enable servicing features, though, because we need to always build against the latest stable packages available (that is, what's in the baseline).This PR does the following things: