Skip to content

Commit afca922

Browse files
authored
NoTargets/Traversal SDKs now support central package versions too
Fixes #23
1 parent 1bf1eac commit afca922

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<PackageOutputPath Condition="'$(PackageOutputPath)' == ''">$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\bin'))</PackageOutputPath>
3838

3939
<!-- Use Directory.Packages.props if possible. NOTE: other MSBuild SDKs (i.e. NoTargets/Traversal) do not support central packages -->
40-
<ManagePackageVersionsCentrally Condition="Exists('$(MSBuildThisFileDirectory)Directory.Packages.props') AND ('$(MSBuildProjectExtension)' == '.csproj' OR '$(MSBuildProjectExtension)' == '.vbproj')">true</ManagePackageVersionsCentrally>
40+
<ManagePackageVersionsCentrally Condition="Exists('$(MSBuildThisFileDirectory)Directory.Packages.props')">true</ManagePackageVersionsCentrally>
4141

4242
<!-- Ensure MSBuild tooling can access package artifacts always via PKG_[PackageId] -->
4343
<GeneratePathProperty>true</GeneratePathProperty>

0 commit comments

Comments
 (0)