Skip to content

Commit d197d6a

Browse files
authored
Pin .NET SDK to 10.0.105 (#4165)
1 parent 12005ac commit d197d6a

1 file changed

Lines changed: 6 additions & 14 deletions

File tree

global.json

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,14 @@
33
{
44
// We currently require the .NET 10 SDK to build and test the project.
55
//
6-
// We specify the most recent release, and let rollForward pick the latest
7-
// available suitable SDK per the rollForward setting.
6+
// GOTCHA: Our CI infrastructure for Windows uses VS 2022 which comes with MSBuild 17.x. The
7+
// .NET 10 SDK versions in the 10.0.2xx series require MSBuild 18.x, so we specify the most
8+
// recent 10.0.1xx series release which is compatible with MSBuild 17.x.
89
//
9-
// We must specify a complete version here since this file is also used by
10-
// the Azure Pipelines UseDotNet@2 task, which doesn't support wildcards,
11-
// and won't roll-forward. It uses the version verbatim.
12-
//
13-
// GOTCHA: This file is only used by the dotnet CLI and related tools.
14-
// Other toolchains (IDEs like Visual Studio, the .NET Framework MSBuild
15-
// system, etc.) may use their own installed SDKs unless configured
16-
// otherwise.
17-
//
18-
"version": "10.0.104",
10+
"version": "10.0.105",
1911

20-
// Any 10.x version is acceptable.
21-
"rollForward": "latestMinor",
12+
// We cannot allow any roll forward due to the above MSBuild compatibility issues.
13+
"rollForward": "disable",
2214

2315
// Do not allow pre-release versions.
2416
//

0 commit comments

Comments
 (0)