Upgrade to .NET 10 and update Azure IoT SDKs#7503
Open
varunpuranik wants to merge 3 commits into
Open
Conversation
- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rust projects untouched.