Skip to content

Commit

Permalink
Fix SDK version references
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Oct 9, 2024
1 parent 04bacf2 commit af29d73
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ stages:
clean: true
submodules: true # keep the warnings quiet about the wiki not being enlisted
- task: UseDotNet@2
displayName: Install .NET 8.0.300 SDK
displayName: Install .NET 8.0.402 SDK
inputs:
packageType: sdk
version: 8.0.300
version: 8.0.402
- script: dotnet --info
displayName: Show dotnet SDK info
- bash: |
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- template: install-dependencies.yml
- pwsh: |
Invoke-WebRequest -Uri "https://dot.net/v1/dotnet-install.ps1" -OutFile dotnet-install.ps1
& .\dotnet-install.ps1 -Architecture x86 -Version 8.0.300 -InstallDir "C:\Program Files (x86)\dotnet\" -NoPath -Verbose
& .\dotnet-install.ps1 -Architecture x86 -Version 8.0.402 -InstallDir "C:\Program Files (x86)\dotnet\" -NoPath -Verbose
displayName: ⚙ Install 32-bit .NET SDK and runtimes
- template: dotnet.yml
Expand Down
2 changes: 1 addition & 1 deletion test/Nerdbank.GitVersioning.Tests/MSBuildExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ internal static void LoadMSBuild()
if (IntPtr.Size == 4)
{
// 32-bit .NET runtime requires special code to find the x86 SDK (where MSBuild is).
MSBuildLocator.RegisterMSBuildPath(@"C:\Program Files (x86)\dotnet\sdk\8.0.300");
MSBuildLocator.RegisterMSBuildPath(@"C:\Program Files (x86)\dotnet\sdk\8.0.402");
}
else
{
Expand Down

0 comments on commit af29d73

Please sign in to comment.