Skip to content

Upgrade projects to supported .NET versions (net8.0, net9.0, net10.0)#115

Merged
arnaudleclerc merged 1 commit intodevelopfrom
features/dotnet-upgrade
Mar 10, 2026
Merged

Upgrade projects to supported .NET versions (net8.0, net9.0, net10.0)#115
arnaudleclerc merged 1 commit intodevelopfrom
features/dotnet-upgrade

Conversation

@arnaudleclerc
Copy link
Owner

Summary

Upgrades all projects to target only the currently supported .NET versions.

Changes

Dropped (EOL):

  • .NET 6.0 (EOL November 2024)
  • .NET 7.0 (EOL May 2024)

Added:

  • .NET 9.0 (STS, EOL May 2026)
  • .NET 10.0 (LTS, EOL November 2027)

Files changed

  • src/AzureMapsControl.Components/AzureMapsControl.Components.csproj - updated TargetFrameworks to net8.0;net9.0;net10.0, replaced net6/7 package ref blocks with net9/10
  • tests/AzureMapsControl.Components.Tests/AzureMapsControl.Components.Tests.csproj - updated TargetFrameworks to net8.0;net9.0;net10.0, upgraded bunit 1.26.64 to 1.37.7 (required for .NET 9/10 compatibility)
  • samples/AzureMapsControl.Sample/AzureMapsControl.Sample.csproj - updated TargetFramework to net10.0
  • All 4 CI workflows - replaced .NET 6.0/7.0 setup steps with 8.0.x, 9.0.x, 10.0.x; removed legacy .NET Core 3.1 step from release.yml

Test results

All 1039 tests pass on net8.0, net9.0, and net10.0.

- Drop net6.0 (EOL Nov 2024) and net7.0 (EOL May 2024)
- Add net9.0 and net10.0 target frameworks to library and test projects
- Update sample project to target net10.0
- Add per-TFM package references for net9.0 and net10.0
- Upgrade bunit from 1.26.64 to 1.37.7 for .NET 9/10 compatibility
- Update all CI workflows to set up .NET 8.0, 9.0, and 10.0 SDKs

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@arnaudleclerc arnaudleclerc merged commit 368233f into develop Mar 10, 2026
4 of 6 checks passed
@arnaudleclerc arnaudleclerc deleted the features/dotnet-upgrade branch March 10, 2026 15:45
arnaudleclerc added a commit that referenced this pull request Mar 10, 2026
* Add ability to add and remove shapes from drawing manager data source (#110)

* Add Drawing Manager component that can be used to add or remove shapes from drawing manager datasource

* Add sample page for adding and removing shapes.

* Add tests for  DrawingManager.

* Upgrade projects to supported .NET versions (net8.0, net9.0, net10.0) (#115)

- Drop net6.0 (EOL Nov 2024) and net7.0 (EOL May 2024)
- Add net9.0 and net10.0 target frameworks to library and test projects
- Update sample project to target net10.0
- Add per-TFM package references for net9.0 and net10.0
- Upgrade bunit from 1.26.64 to 1.37.7 for .NET 9/10 compatibility
- Update all CI workflows to set up .NET 8.0, 9.0, and 10.0 SDKs

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Enable NuGet publish step in release workflow (#116)

Re-enable the commented-out dotnet nuget push step in release.yml.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Trigger release workflow on changes to itself (#117)

Add .github/workflows/release.yml to the paths filter so the workflow
also runs when the release workflow file itself is modified.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix missing static web assets in NuGet package (#118)

The Razor SDK generates the static web assets manifest at dotnet build
time. Previously, npm run build (which outputs the JS files to wwwroot/)
ran after dotnet build, so the manifest was generated with an empty
wwwroot/ and dotnet pack --no-build reused that stale manifest.

Fix by moving the npm install/lint/build steps before dotnet restore and
dotnet build, ensuring the compiled JS files exist in wwwroot/ when the
static web assets manifest is generated.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Remove unused `_sourceShapes` field from `DrawingManager` (#121)

* Initial plan

* Remove unused _sourceShapes field from DrawingManager to reduce memory overhead

Co-authored-by: arnaudleclerc <9578038+arnaudleclerc@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: arnaudleclerc <9578038+arnaudleclerc@users.noreply.github.com>

---------

Co-authored-by: mtech-rherpio <166818039+mtech-rherpio@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: arnaudleclerc <9578038+arnaudleclerc@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant