Skip to content

Commit cc6922f

Browse files
committed
Ensure MSBuild tooling can access package artifacts always via PKG_[PackageId]
1 parent 83d7378 commit cc6922f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Directory.Build.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
<!-- Use Directory.Packages.props if possible. NOTE: other MSBuild SDKs (i.e. NoTargets/Traversal) do not support central packages -->
4040
<ManagePackageVersionsCentrally Condition="Exists('$(MSBuildThisFileDirectory)Directory.Packages.props') AND ('$(MSBuildProjectExtension)' == '.csproj' OR '$(MSBuildProjectExtension)' == '.vbproj')">true</ManagePackageVersionsCentrally>
4141
<RestoreSources>https://api.nuget.org/v3/index.json;https://pkg.kzu.io/index.json;$(RestoreSources)</RestoreSources>
42+
43+
<!-- Ensure MSBuild tooling can access package artifacts always via PKG_[PackageId] -->
44+
<GeneratePathProperty>true</GeneratePathProperty>
4245
</PropertyGroup>
4346

4447
<PropertyGroup Label="Build">

0 commit comments

Comments
 (0)