-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
Description
Description
This change introduced 2 issues for us.
- Our source generator fails to build:
C:\Program Files\dotnet\sdk\9.0.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(262,5): error NETSDK1216: Package Microsoft.Net.Sdk.Compilers.Toolset is not downloaded but it is needed because your MSBuild and SDK versions are mismatched. Ensure version 9.0.300 of the package is available in your NuGet source feeds and then run NuGet package restore from Visual Studio or MSBuild. [C:\a\repo\SourceGenerator.csproj]
We're building for dotnet 8, and we didn't have global.json. Creating one with the following contents fixed the issue:
{
"sdk": {
"version": "8.0.300"
}
}But then our .msix installer would fail to be installed on the CI (we do some smoke test on CI and install our installer as part of them):
Windows cannot install package <msix> because this
package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00.UWPDesktop"
published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64
processor architecture and minimum version 14.0.33728.0, along with this package to install. The frameworks with name
"Microsoft.VCLibs.140.00.UWPDesktop" currently installed are: {}
For now we've installed Microsoft.VCLibs.x64.14.00.Desktop.appx manually.
Related:
- V 1.9 Breaks Winget PowerShell Module (Microsoft.VCLibs.140.00.UWPDesktop Issue) microsoft/winget-cli#4916
- The error "Unable to find package Microsoft.Net.Sdk.Compilers.Toolset with version (= 10.0.100-alpha.1.24556.12)" appeared when creating the .NET project based on latest .NET SDK 10.0 with 17.12.0 Preview 5.0 dotnet/sdk#44703
Sorry if it's a wrong place to report, just thought it'd be useful to add visibility here, as it wasn't happening on all previous runner versions for a while.
Platforms affected
- Azure DevOps
- GitHub Actions - Standard Runners
- GitHub Actions - Larger Runners
Runner images affected
- Ubuntu 22.04
- Ubuntu 24.04
- macOS 13
- macOS 13 Arm64
- macOS 14
- macOS 14 Arm64
- macOS 15
- macOS 15 Arm64
- Windows Server 2019
- Windows Server 2022
- Windows Server 2025
Image version and build link
Image: windows-2022
Version: 20250527.1.0
Is it regression?
yes, it worked on 20250511.1.0
Expected behavior
The build doesn't fail.
Actual behavior
The build fails.
Repro steps
It's a bit hard to give exact repro steps as the repo is private, but, as described above, it's just a dotnet 8 project.
Reactions are currently unavailable