Skip to content

Bump Microsoft.Build.Utilities.Core from 18.9.6 to 18.10.1 - #165

Closed
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/nuget/Microsoft.Build.Utilities.Core-18.10.1
Closed

dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/nuget/Microsoft.Build.Utilities.Core-18.10.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 11, 2026

Copy link
Copy Markdown
Contributor

Updated Microsoft.Build.Utilities.Core from 18.9.6 to 18.10.1.

Release notes

Sourced from Microsoft.Build.Utilities.Core's releases.

18.10.1

What's Changed

Commits viewable in compare view.

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: Microsoft.Build.Utilities.Core
  dependency-version: 18.10.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Sep 11, 2026
C0nquistadore added a commit that referenced this pull request Sep 17, 2026
Dependabot proposed 18.9.6 -> 18.10.1 (#165), which fails the Linux CI job
while packing Dibix.Sdk.Cli:

  error NU5019: File not found: '.../bin/Release/net10.0/Microsoft.Build.Framework.dll'

MSBuild only ships implementation assemblies for net472 and for the TFM of the
SDK its band ships in. 18.9.x is the band of the .NET 10 SDK (net10.0), while
18.10+ belongs to the .NET 11 SDK (net11.0). On net10.0 the package therefore
resolves only ref/netstandard2.0, so no runtime asset is copied to the output
directory.

Dibix.Sdk.Cli cannot use the usual ExcludeAssets="runtime" approach, because it
redistributes the MSBuild assemblies to drive DacFx tasks outside of MSBuild
(PublicSqlDataSchemaModelLoader), which is why packing fails instead of only
warning.

Since 10.0.4xx is the last feature band of .NET 10, no future MSBuild band will
target net10.0 either, making 18.9.x the terminal band for the whole LTS
lifetime. And as Dibix follows LTS only, .NET 11 (STS) is skipped entirely, just
like 17.11.x was kept throughout .NET 8 before jumping straight to 18.0.2.

Ignore 18.10.0 and above in dependabot until the SDK projects target the next
LTS (.NET 12). Patch updates within 18.9.x are still proposed, so servicing and
security fixes keep flowing.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@C0nquistadore

C0nquistadore commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Closing this one: the update cannot be taken on .NET 10, and this is by design rather than a bug.

What fails

The Linux CI job fails in the Pack Dibix.Sdk.Cli (Release) step:

error NU5019: File not found: '.../src/Dibix.Sdk.Cli/bin/Release/net10.0/Microsoft.Build.Framework.dll'

Why

Microsoft.Build.Utilities.Core 18.10.1 dropped lib/net10.0 in favour of lib/net11.0. On a net10.0 project NuGet therefore resolves only the compile asset ref/netstandard2.0 and no runtime asset at all, so the MSBuild assemblies are no longer copied to the output directory. The build still succeeds (hence only the "doesn't support net10.0" warnings), and the breakage surfaces at pack time.

This is documented behaviour. From the package's own README.md:

The netstandard2.0 target of this build is configured only to output reference assemblies; at runtime MSBuild will be net11.0 or net472. Please use the net11.0-targeted assemblies for .NET 11+ scenarios.

(18.9.6 carries the same text with net10.0; context in dotnet/msbuild#6148.)

MSBuild only ships implementation assemblies for net472 and for the TFM of the SDK its band ships in. The minor number tracks Visual Studio, not .NET:

  • 18.9.x → VS 18.9 → .NET 10 SDK (net10.0) — confirmed by dotnet msbuild -version reporting 18.9.11.42413 on SDK 10.0.401 and 18.9.6.38015 on 10.0.400
  • 18.10.x → VS 18.10 → .NET 11 SDK (net11.0)

Why the usual workaround does not apply

The guidance to reference MSBuild with ExcludeAssets="runtime" assumes the code runs inside MSBuild. Dibix.Sdk.Cli is a standalone tool and PublicSqlDataSchemaModelLoader builds a fake IBuildEngine plus a reflected TaskLoggingHelper to drive the DacFx task outside of MSBuild, so the implementation assemblies genuinely have to be redistributed in tools/net10.0 — which is exactly what Dibix.Sdk.Cli.targets does and why packing fails.

Resolution

Pinned to the 18.9.x band in 63108e5, with a Dependabot ignore for >=18.10.0. Patch updates within 18.9.x are still proposed, so servicing and security fixes keep flowing — the same way 17.11.4 → 17.11.48 delivered the CVE-2025-55247 fix during .NET 8.

Since 10.0.4xx is the last feature band of .NET 10, no future MSBuild band will target net10.0, making 18.9.x the terminal band for this LTS. .NET 11 is STS and is skipped, so this will be revisited when the SDK projects move to .NET 12.

@dependabot @github

dependabot Bot commented on behalf of github Sep 17, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/nuget/Microsoft.Build.Utilities.Core-18.10.1 branch September 17, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant