[release/v7.6] Update the WCF packages to the latest version that is compatible with v4.10.3 by TravisEz13 · Pull Request #26503 · PowerShell/PowerShell

Backport of #26406 to release/v7.6

Triggered by @TravisEz13 on behalf of @daxian-dbw

Original CL Label: CL-BuildPackaging

/cc @PowerShell/powershell-maintainers

Impact

REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.

Tooling Impact

  • Required tooling change
  • Optional tooling change (include reasoning)

Updates WCF packages from 4.10.3 to 10.0.0-rc.2.final, which is compatible with .NET 10. Fixes #19238 by removing deprecated packages (System.Private.ServiceModel, System.ServiceModel.Duplex, System.ServiceModel.Security) and updating to newer compatible versions. Also updates BOM manifest for new assembly structure and improves log file capture for GitHub Actions.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Original PR verified that ActiveDirectory module can be correctly imported with the updated WCF packages. Changes to packaging.psm1 improve GitHub Actions compatibility without affecting existing functionality.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Medium risk as it updates core dependency packages, but these are build/packaging dependencies. The 10.0.0-rc.2.final WCF packages are backward compatible, shipping facade assemblies for removed packages. Changes were validated in master and the ActiveDirectory module functionality was verified.