Skip to content

Bump Microsoft.Build packages to 18.6.* and upgrade to net10.0#26

Merged
coderpatros merged 2 commits into
coderpatros:mainfrom
coderpatros-bot:update-msbuild-18.6
May 16, 2026
Merged

Bump Microsoft.Build packages to 18.6.* and upgrade to net10.0#26
coderpatros merged 2 commits into
coderpatros:mainfrom
coderpatros-bot:update-msbuild-18.6

Conversation

@coderpatros-bot
Copy link
Copy Markdown

Summary

Why net10.0?

After bumping the MSBuild packages, the build emits 12 warnings like:

Microsoft.Build.Framework 18.6.3 doesn't support net8.0 and has not been tested with it. Consider upgrading your TargetFramework to net10.0 or later.

Since TreatWarningsAsErrors is not set to false anywhere, these warnings block a clean build. Upgrading the target framework to net10.0 (already installed on this machine and in global.json) resolves all of them.

Test plan

  • dotnet build passes with 0 warnings and 0 errors
  • Unit tests pass (dotnet test test/CycloneDX.MSBuildTask.Tests)
  • Integration tests pass (dotnet test test/CycloneDX.MSBuildTask.IntegrationTests)

🤖 Generated with Claude Code

…o net10.0

Updates Microsoft.Build.Utilities.Core and Microsoft.Build.Framework from
17.11.* to 18.6.*, and upgrades all project TargetFrameworks from net8.0
to net10.0 (required by MSBuild 18.6.x packages). Also updates the hardcoded
assembly path in the build targets file to match the new TFM output folder.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
TestProjectHelper.cs was resolving the task DLL from the net8.0 output
folder, causing integration tests to fail with MSB4062. SampleApp.csproj
had the same stale path.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderpatros coderpatros merged commit aa7880a into coderpatros:main May 16, 2026
4 checks passed
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.

2 participants