Skip to content

Conversation

@ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Jan 22, 2026

Needed to unblock dotnet/arcade#16413 to workaround dotnet/msbuild#12895 but in general offers a way to import BundledVersions.props information from projects that don't import the Microsoft.NET.Sdk.


The Arcade.Sdk will import this file conditionally:

<!-- Import the BundledVersions.props file from SDK to light-up Runtime="NET" task support. Remove when https://github.com/dotnet/msbuild/issues/12895 is implemented. -->
<Sdk Import="Microsoft.NET.Sdk" Project="Sdk.BundledVersions.props" Condition="'$(NETCoreSdkBundledVersionsProps)' == ''" />

Needed to unblock dotnet/arcade#16413 to workaround dotnet/msbuild#12895 but in general offers a way to import BundledVersions.props information from projects that don't import the Microsoft.NET.Sdk.
Copilot AI review requested due to automatic review settings January 22, 2026 07:39
Copy link
Contributor

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 adds a new Sdk.BundledVersions.props file to provide a standalone import for BundledVersions.props information. This allows projects that don't import the full Microsoft.NET.Sdk to still access bundled version properties, unblocking an arcade PR that works around an MSBuild issue.

Changes:

  • Adds a new MSBuild props file that imports Microsoft.NETCoreSdk.BundledVersions.props
  • Follows the same pattern as the existing Microsoft.NET.Sdk.BeforeCommon.props file
  • Uses a conditional property to allow override of the import path

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ViktorHofer ViktorHofer merged commit 0c50b1d into main Jan 22, 2026
22 of 26 checks passed
@ViktorHofer ViktorHofer deleted the ViktorHofer-patch-1 branch January 22, 2026 09:17
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.

3 participants