Skip to content

Commit

Permalink
set private assets and IsImplicitlyDefined (#47100)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anipik authored Jan 18, 2021
1 parent 5c5bb6a commit 0df028b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libraries/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
</ItemGroup>

<!-- TODO: Remove when all required nuget pack features are part of the consumed SDK. -->
<ItemGroup Condition="'$(IsPackable)' == 'true' and '$(MSBuildProjectExtension)' != '.pkgproj'">
<PackageReference Include="NuGet.Build.Tasks.Pack" Version="$(NuGetBuildTasksPackVersion)" />
<ItemGroup Condition="'$(IsPackable)' == 'true' and '$(IsSourceProject)' == 'true'">
<PackageReference Include="NuGet.Build.Tasks.Pack" Version="$(NuGetBuildTasksPackVersion)" PrivateAssets="all" IsImplicitlyDefined="true" />
</ItemGroup>

<Target Name="SetGenApiProperties"
Expand Down

0 comments on commit 0df028b

Please sign in to comment.