Skip to content

chore(deps): update nuget dependencies to v18 (major)#162

Open
Gérald Barré (geraldbarre-workleap) wants to merge 2 commits intomainfrom
renovate/major-nuget-dependencies-fixup
Open

chore(deps): update nuget dependencies to v18 (major)#162
Gérald Barré (geraldbarre-workleap) wants to merge 2 commits intomainfrom
renovate/major-nuget-dependencies-fixup

Conversation

@geraldbarre-workleap
Copy link
Contributor

ℹ️ Note

This PR is a fixed version of #146 that addresses the CI failures.

This PR contains the following updates:

Package Change
Microsoft.Build.Framework 17.10.4618.0.2
Microsoft.Build.Utilities.Core 17.10.4618.0.2
Microsoft.NET.Test.Sdk 17.14.118.0.1

Additional changes to fix CI

The Microsoft.Build.* v18 packages no longer include net8.0 runtime assemblies - they only support net10.0 and net472. This PR includes the following additional changes to fix the CI:

  • Updated all test/web projects from net8.0 to net10.0
  • Updated Microsoft.Build.Utilities.Core in the main project to 18.0.2
  • Updated CI workflow to use global-json-file: global.json instead of hardcoded dotnet-version: "8.0.x"

These changes ensure compatibility with the new Microsoft.Build v18 packages.


🤖 Generated with Claude Code

github-actions bot and others added 2 commits January 17, 2026 05:24
Microsoft.Build.* v18 packages no longer include net8.0 runtime assemblies,
only net10.0 and net472. This change:

- Updates all test projects from net8.0 to net10.0
- Updates Microsoft.Build.Utilities.Core to v18.0.2 in the main project
- Updates CI workflow to use global.json for SDK version

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades Microsoft.Build dependencies from v17 to v18, which is a major version update that requires migrating all test and web projects from .NET 8.0 to .NET 10.0. This is necessary because Microsoft.Build v18 packages no longer support net8.0 runtime assemblies and only support net10.0 and net472.

Changes:

  • Updated Microsoft.Build.Framework and Microsoft.Build.Utilities.Core from 17.10.46 to 18.0.2
  • Updated Microsoft.NET.Test.Sdk from 17.14.1 to 18.0.1
  • Migrated all test and web projects from net8.0 to net10.0 target framework
  • Updated CI workflow to use global.json instead of hardcoded .NET version

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/Workleap.OpenApi.MSBuild/Workleap.OpenApi.MSBuild.csproj Updated Microsoft.Build.Utilities.Core to 18.0.2
src/tests/Workleap.OpenApi.MSBuild.Tests/Workleap.OpenApi.MSBuild.Tests.csproj Updated target framework to net10.0 and upgraded test SDK packages to v18
src/tests/WebApi.MsBuild.SystemTest.GenericTest/WebApi.MsBuild.SystemTest.GenericTest.csproj Updated target framework to net10.0
src/tests/WebApi.MsBuild.SystemTest.OasDiffError/WebApi.MsBuild.SystemTest.OasDiffError.csproj Updated target framework to net10.0
src/tests/WebApi.MsBuild.SystemTest.SpectralError/WebApi.MsBuild.SystemTest.SpectralError.csproj Updated target framework to net10.0
src/WebApiDebugger/WebApiDebugger.csproj Updated target framework to net10.0
.github/workflows/ci.yaml Changed from hardcoded dotnet-version to using global.json file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant