Skip to content

Upgrade to .NET 10 and update Azure IoT SDKs#7503

Open
varunpuranik wants to merge 3 commits into
Azure:mainfrom
varunpuranik:upd_sdk2
Open

Upgrade to .NET 10 and update Azure IoT SDKs#7503
varunpuranik wants to merge 3 commits into
Azure:mainfrom
varunpuranik:upd_sdk2

Conversation

@varunpuranik
Copy link
Copy Markdown
Contributor

  • Retarget all .NET projects from net8.0 to net10.0
  • Bump Microsoft.Azure.Devices.Client to 1.43.0-edgeLts
  • Bump Microsoft.Azure.Devices to 1.42.0-edgeLts
  • (Microsoft.Azure.Devices.Shared 1.31.0-edgeLts flows transitively)
  • Bump Microsoft.Extensions.* and selected Microsoft.AspNetCore.* to 10.0.0
  • Bump Newtonsoft.Json to 13.0.3, Microsoft.Azure.Amqp to 2.6.9
  • Add explicit DotNetty.Transport 0.7.6 to Hub.CloudProxy (no longer transitive)
  • Remove System.Linq.Async (replaced by net10 BCL System.Linq.AsyncEnumerable)
  • Replace IsNullOrWhiteSpace extension calls with string.IsNullOrWhiteSpace
  • Update Dockerfiles to dotnet/aspnet:10.0-alpine
  • Regenerate package lock files
  • Suppress non-semantic warnings: SYSLIB0057, CS0618, CA2022, ASPDEPR004, ASPDEPR008

Rust projects untouched.

varunpuranik and others added 3 commits May 7, 2026 10:14
- Retarget all .NET projects from net8.0 to net10.0
- Bump Microsoft.Azure.Devices.Client to 1.43.0-edgeLts
- Bump Microsoft.Azure.Devices to 1.42.0-edgeLts
- (Microsoft.Azure.Devices.Shared 1.31.0-edgeLts flows transitively)
- Bump Microsoft.Extensions.* and selected Microsoft.AspNetCore.* to 10.0.0
- Bump Newtonsoft.Json to 13.0.3, Microsoft.Azure.Amqp to 2.6.9
- Add explicit DotNetty.Transport 0.7.6 to Hub.CloudProxy (no longer transitive)
- Remove System.Linq.Async (replaced by net10 BCL System.Linq.AsyncEnumerable)
- Replace IsNullOrWhiteSpace extension calls with string.IsNullOrWhiteSpace
- Update Dockerfiles to dotnet/aspnet:10.0-alpine
- Regenerate package lock files
- Suppress non-semantic warnings: SYSLIB0057, CS0618, CA2022, ASPDEPR004, ASPDEPR008

Rust projects untouched.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The agent images have .NET 8 baked in, so the build was failing with
'The current .NET SDK does not support targeting .NET 10.0'. Add a
UseDotNet@2 step to the .NET-building pipelines to fetch the .NET 10
SDK before any dotnet command runs.

Applies to:
- builds/checkin/dotnet.yaml (PR validation, both jobs)
- builds/ci/dotnet.yaml (integration tests)
- builds/misc/templates/build-images.yaml (release image build)
- builds/e2e/templates/e2e-setup.yaml (e2e test build)
- builds/service/service-deployment.yaml (service deployment tests)

Co-authored-by: Copilot <223556219+Copilot@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.

2 participants