Skip to content

Add .NET 8 and .NET 10 multi-targeting - #2

Merged
rwsigiles merged 7 commits into
developfrom
multi-targetting
Aug 28, 2026
Merged

rwsigiles merged 7 commits into
developfrom
multi-targetting

Conversation

@rwsigiles

@rwsigiles rwsigiles commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add multi-targeting for .NET 8 and .NET 10, with shared build props at the repo root.
  • Extend CI for net10 deploy coverage and Nexus-only preview NuGet releases; bump version to 2.4.1.
  • Added Docker file for .NET 10, and added CM combined-stack test scripts plus documentation.
  • Initial preview pushed to Nexus
  • See readme.md and test/CmTestSetup.md for additional detail.

Test plan

  • Confirm the solution builds for net8.0 and net10.0.
  • Confirm CI on this branch covers net10 deploy and preview NuGet publish as intended.
  • Confirm the example WebApp still publishes/runs as net8.0.
  • Review CM combined-stack scripts under test/ against a local CM setup.

Extend Release-Dxa.ps1 with -Preview to pack 2.4.1-preview-{timestamp}
packages and push them to internal Nexus only (nuget.org refused). Use
dotnet msbuild so net10 multi-targeting restores under the correct SDK.
Build/pack modules in the release pipeline, prove WebApp publish for
net8/net10 in CI, and add net10 Docker/ARM/publish-profile assets plus
consumer migration docs in the README.
Ignore generated Dockerfile*.cmtest files and document net10 ASP.NET deprecation warnings.
@rwsigiles
rwsigiles requested a review from avmgan August 24, 2026 21:18
@rwsigiles rwsigiles added the enhancement New feature or request label Aug 24, 2026
@rwsigiles rwsigiles self-assigned this Aug 24, 2026
@rwsigiles
rwsigiles marked this pull request as ready for review August 24, 2026 21:21
@rwsigiles

Copy link
Copy Markdown
Collaborator Author

AWS VM tested with: /test/.\Start-CMTestWebApp.ps1 -Framework net10

@rwsigiles

Copy link
Copy Markdown
Collaborator Author

Upgrade roadmap stance as noted in readme

  1. Migrate to DXA 2.4/.NET 8
  2. Retarget web application to .NET 10 if/when required (no breaking code changes)

Deprecations tied to ASP.NET/Razor are not errors/blocking at this time (tested on net10). A future version of DXA Core will likely address these (expectation is deprecations may well become compilation errors in .NET 12; not yet released).

@rwsigiles
rwsigiles merged commit 7cca188 into develop Aug 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant