Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit 1cc7559

Browse files
kzuadalon
authored andcommitted
Unify with the pre-existent Pack capability instead of our Packable one.
1 parent 95ddfe3 commit 1cc7559

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ project.lock.json
2222
*.nuget.targets
2323

2424
log.txt
25-
test.proj
25+
test.proj
26+
*.log

src/Build/NuGet.Build.Packaging.Tasks/NuGet.Build.Packaging.targets

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ Copyright (c) .NET Foundation. All rights reserved.
5151
</PropertyGroup>
5252

5353
<ItemGroup>
54-
<ProjectCapability Include="Packable" Condition="'$(IsPackable)' == 'true'"/>
54+
<!-- This is the capability that CPS in .NETStandard/.NETCore uses to enable the Pack context menu. Unify with that -->
55+
<ProjectCapability Include="Pack" Condition="'$(IsPackable)' == 'true'" />
5556

5657
<!-- Converts potentially multiple $(ReferenceAssemblyFrameworks) into @(ReferenceAssemblyFramework) -->
5758
<ReferenceAssemblyFramework Include="$(ReferenceAssemblyFrameworks)" Condition="'$(ReferenceAssemblyFrameworks)' != ''" />

0 commit comments

Comments
 (0)