Skip to content

Move Foundation managed test tooling to .NET 10 LTS - #6908

Draft
Vineeth Thomas Alex (vineeththomasalex) wants to merge 1 commit into
mainfrom
user/vithoma/foundation-supported-dotnet
Draft

Vineeth Thomas Alex (vineeththomasalex) wants to merge 1 commit into
mainfrom
user/vithoma/foundation-supported-dotnet

Conversation

@vineeththomasalex

Copy link
Copy Markdown
Collaborator

Summary

Move the Foundation managed test/tooling runtime to .NET 10 LTS without changing production projection target frameworks or NuGet library layouts.

  • Align the root tooling declaration, Foundation build SDK installation and MRT SDK source on SDK 10.0.114, with test runtime packs 10.0.14. Keep the 1xx SDK band for compatibility with the existing MSBuild 17.14 build setup.
  • Retarget WindowsAppSDK.Test.NetCore, WindowsAppSDK.Test.SampleTests and MrtCoreCsWinRTTests to .NET 10; use portable Windows RIDs, explicitly retain the self-contained runtime payload, and preserve ARM64EC-to-ARM64 and AnyCPU-to-x86 mappings.
  • Align TAEF CoreCLR profiles, runtime-copy destinations, test-runner copy paths and existing runtime-path scanning exclusions on net10. Use the shared TAEF version for sample tests and update it for the newer runtime.
  • Fix MRT SDK bootstrap default-version selection and remove obsolete installer channels/TLS protocols. Document toolchain/OS constraints and add regression coverage.

Validation

  • 12 regression checks passed using the exact SDK 10.0.114, covering x86/x64/ARM64 Debug and Release property evaluation, ARM64EC/AnyCPU RID mappings, self-contained runtime version selection, SDK/profile wiring, MRT installer default-version selection and unchanged production projection targeting.
  • Modified XML/PowerShell syntax checks and git diff --check passed. The downloaded SDK reports minimum MSBuild version 17.14.0.
  • Full restore, compilation and runtime tests have not passed locally. Repository-required test-certificate setup requires administrator privileges unavailable in this session; the configured package feed also requires authentication. The selected TAEF package restore and runtime compatibility therefore remain unverified. Project evaluation reports the existing duplicate Directory.Packages.props import warning (MSB4011).
  • This PR is intentionally draft, opened for pipeline validation. No successful full build or package restore is claimed.

Pipeline validation

A Microsoft employee must use /azp run to validate this draft. Per docs/pull_request_template.md, verify the actual pipeline run rather than relying solely on Azure Pipelines bot comments. For the main branch, run TransportPackage-Foundation-PR against this PR branch with default parameters.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@vineeththomasalex

Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.

@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

This PR has been open for 30 days. Are you still interested in merging this PR? If so, please make sure your branch is up to date with the latest main by merging main into your branch or rebasing onto main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant