-
Notifications
You must be signed in to change notification settings - Fork 542
[ci][net10.0] Use variables to control system .NET SDK installs #22704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I noticed the net10.0 branch build was failing during the "generate and publish BAR manifest" step with: D:\a\_work\1\s\dotnet\package\common.csproj(151,5): error MSB4062: The "PushToBuildStorage" task could not be loaded from the assembly D:\a\_work\1\s\packages\microsoft.dotnet.build.tasks.feed\10.0.0-beta.25228.101\build\../tools/net/Microsoft.DotNet.Build.Tasks.Feed.dll. Could not load file or assembly 'System.Runtime, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. The Microsoft.DotNet.Build.Tasks.Feed tasks are seemingly now being built against .NET 10, so we'll need to install .NET 10 to run them. Variables that represent the current stable and preview versions of .NET have been added to be used throughout the pipeline. These will now only need to be updated in one place when a new major release comes around.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ [CI Build #6223f23] Build passed (Detect API changes) ✅Pipeline on Agent |
✅ [CI Build #6223f23] Build passed (Build packages) ✅Pipeline on Agent |
✅ API diff for current PR / commit.NET ( No breaking changes )✅ API diff vs stable.NET ( No breaking changes )✅ Generator diffGenerator diff is empty Pipeline on Agent |
✅ [CI Build #6223f23] Build passed (Build macOS tests) ✅Pipeline on Agent |
💻 [CI Build #6223f23] Tests on macOS X64 - Mac Sonoma (14) passed 💻✅ All tests on macOS X64 - Mac Sonoma (14) passed. Pipeline on Agent |
💻 [CI Build #6223f23] Tests on macOS M1 - Mac Monterey (12) passed 💻✅ All tests on macOS M1 - Mac Monterey (12) passed. Pipeline on Agent |
💻 [CI Build #6223f23] Tests on macOS M1 - Mac Ventura (13) passed 💻✅ All tests on macOS M1 - Mac Ventura (13) passed. Pipeline on Agent |
💻 [CI Build #6223f23] Tests on macOS arm64 - Mac Sequoia (15) passed 💻✅ All tests on macOS arm64 - Mac Sequoia (15) passed. Pipeline on Agent |
I noticed the net10.0 branch build was failing during the "generate and publish BAR manifest" step with:
The Microsoft.DotNet.Build.Tasks.Feed tasks are seemingly now being built against .NET 10, so we'll need to install .NET 10 to run them.
Variables that represent the current stable and preview versions of .NET have been added to be used throughout the pipeline. These will now only need to be updated in one place when a new major release comes around.
Also fixes the following publishing error by setting %(ItemsToPush.Kind) metadata: