Update to .NET 10 RC 1 with explicit SDK version #216
Merged
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.
This PR updates the repository to use .NET 10 RC 1 with the explicit SDK version
10.0.100-rc.1.25451.107instead of wildcards (10.0.x), as requested in the feature request.Background
The repository already has conditional .NET 10 support from PR #202 through the
TargetNetNextproperty. This PR addresses the requirement to use explicit SDK versions in build configurations to ensure deterministic builds with a known SDK version.Changes
Build Configuration Updates
Updated both CI/CD pipelines to install and use the explicit .NET 10 RC 1 SDK version:
.github/workflows/dotnetcore.yml): Changed from10.0.xto10.0.100-rc.1.25451.107build/template-install-dotnet-core.yaml): Changed from10.0.xto10.0.100-rc.1.25451.107Test Package Dependencies
Updated test dependencies in
test/Directory.Build.propsto ensure compatibility with .NET 10 RC 1:17.3.2→18.0.013.0.1→13.0.3(required by Microsoft.NET.Test.Sdk 18.0.0)2.4.2→2.9.32.4.5→2.8.2(latest version supporting net462)3.1.2→6.0.4Documentation
Updated
changelog.mdto document the .NET 10 RC 1 update under the Fundamentals section of version 9.5.0.Breaking Changes Review
Reviewed the .NET 10 breaking changes documentation for RC 1. No code changes were required for this abstractions library as:
Testing
The build pipeline is now configured to install .NET 10 RC 1 SDK and will automatically build net10.0 binaries when
TargetNetNext=Trueis set.Related
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
0t3vsblobprodcus362.vsblob.vsassets.iodotnet build -v minimal(dns block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)dotnet build --no-restore --source REDACTED(dns block)11vvsblobprodcus336.vsblob.vsassets.iodotnet build -v minimal(dns block)1oavsblobprodcus350.vsblob.vsassets.iodotnet build -v minimal(dns block)dotnet build --no-restore --source REDACTED(dns block)1s1vsblobprodcus386.vsblob.vsassets.iodotnet build -v minimal(dns block)4vyvsblobprodcus361.vsblob.vsassets.iodotnet build -v minimal(dns block)dotnet build --no-restore --source REDACTED(dns block)4zjvsblobprodcus390.vsblob.vsassets.iodotnet build -v minimal(dns block)dotnet build --no-restore --source REDACTED(dns block)51yvsblobprodcus36.vsblob.vsassets.iodotnet build -v minimal(dns block)dotnet build --no-restore --source REDACTED(dns block)96bvsblobprodcus338.vsblob.vsassets.iodotnet build -v minimal(dns block)dotnet build --no-restore --source REDACTED(dns block)c50vsblobprodcus330.vsblob.vsassets.iodotnet build -v minimal(dns block)dotnet build --no-restore --source REDACTED(dns block)c78vsblobprodcus322.vsblob.vsassets.iodotnet build -v minimal(dns block)dotnet build --no-restore --source REDACTED(dns block)ckzvsblobprodcus347.vsblob.vsassets.iodotnet build -v minimal(dns block)kmuvsblobprodcus389.vsblob.vsassets.iodotnet build -v minimal(dns block)dotnet build --no-restore --source REDACTED(dns block)l49vsblobprodcus358.vsblob.vsassets.iodotnet build -v minimal(dns block)dotnet build --no-restore --source REDACTED(dns block)lylvsblobprodcus31.vsblob.vsassets.iodotnet build -v minimal(dns block)n3kvsblobprodcus335.vsblob.vsassets.iodotnet build -v minimal(dns block)pdfvsblobprodcus380.vsblob.vsassets.iodotnet build -v minimal(dns block)dotnet build --no-restore --source REDACTED(dns block)s8mvsblobprodcus38.vsblob.vsassets.iodotnet build -v minimal(dns block)dotnet build --no-restore --source REDACTED(dns block)sqdvsblobprodcus333.vsblob.vsassets.iodotnet build -v minimal(dns block)dotnet build --no-restore --source REDACTED(dns block)vb4vsblobprodcus33.vsblob.vsassets.iodotnet build -v minimal(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
Fixes #213
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.