Repository navigation
[release/11.0.2xx] Initialize SDK band versions - #9512
marcpopMSFT merged 13 commits into
Conversation
|
Runtime directories are still present in this VMR branch and must be removed manually:
Manual cleanup steps (run on this PR's source branch):
Pipeline note:
|
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Remove runtime-owned repositories and their source metadata, and exclude runtime-dependent pipeline jobs. Co-authored-by: Copilot <[email protected]>
Add the 1xx Microsoft.NET.Sdk dependency used by source-build prep, fail fast when shared-component acquisition fails, and reuse the pipeline-provided components during prep. Co-authored-by: Copilot <[email protected]> Copilot-Session: ada0423a-4f2b-4c65-b9b4-d06a9999eee2
|
the build failure needs to be addressed |
Co-authored-by: Copilot <[email protected]>
Source-build failure investigationI traced the failing The project targets
The .NET 11 generator emits assignments to new members such as I also compared this with successful 11.0.1xx source-build build 1621116, including its stage-2 leg. The same Hot Reload project is built under a The SDK-only feature-band build exposes this because it consumes shared components instead of rebuilding runtime. Arcade's downlevel targeting-pack handling supplies the real net10 reference pack, while Recommended directionWe should preserve the genuine net10 contract for this compatibility asset and ensure its generator is compatible with that contract. The preferred fixes are, in order:
Changing the SDK-only build to compile this The branding changes themselves do not appear to cause the failure; they cause the SDK-only build path to exercise this previously hidden mismatch. |
|
@akoeplinger my copilot investigated the build failure and seems to think it's actually a compat bug in the system text json source generator. Who's the best person to route that too and confirm if this is something that should be fixed there or worked around? |
|
@eiriktsarpalis can you help here? cc @ViktorHofer @mthalman shouldn't we still override the versions in 2xx too when consuming the shared runtime? |
This should only occur if the STJ v11 generator is used to target STJ v10 runtime APIs. This is not a supported scenario -- a .NET 10 project can reference the STJ v11 package but that typically updates both the generator AND the runtime bits. |
Co-authored-by: Copilot App <[email protected]>
|
/azp run dotnet-unified-build |
Co-authored-by: Copilot App <[email protected]>
|
/azp run dotnet-unified-build |
Co-authored-by: Copilot App <[email protected]>
…update/release-11.0.2xx-sdk-band-init
…elease/11.0.1xx-to-release/11.0.2xx Conflict resolutions: - sdk.slnx, dotnet.csproj: keep Microsoft.DotNet.Cli.InternalMicrosoft (2xx, #56458); drop Microsoft.DotNet.Cli.Telemetry (removed in 1xx by #56274, replaced by Azure Monitor exporter 1.10.0). - Program.cs: combine 1xx exit-code-aware shutdown drain with 2xx internal-Microsoft detection wait. - Versions.props: take 1xx runtime version features (#56629: 8.0.33, 9.0.22, 10.0.MinorPatch+14) and restore 11.0.2xx preview band branding to match dotnet/dotnet#9512 (VersionSDKMinor 2, patch 00, preview label, empty iteration) instead of the auto-merged 1xx rtm label. Fixes for files reset to release/11.0.2xx by the flow bot: - Add Microsoft.NET.ProjectData.Tasks 5.13.0-1.26508.107 dependency (needed by #56243 from 1xx). - Disable central transitive pinning in tool_projectdata (content-only harvest) so the 2xx ProjectData package's NuGet.Versioning floor does not conflict with the 2xx NuGet band. - Update testfx dependencies to 1xx versions (MSTest 4.5.0-preview.26477.3, MTP 2.5.0-preview.26477.3) needed by 1xx HotReload.Client tests (#56609). Co-authored-by: Copilot <[email protected]>
Initialize SDK band versions and configure release/11.0.2xx as an SDK-only band.
Version updates:
SDK-only band preparation: