-
Notifications
You must be signed in to change notification settings - Fork 341
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GeneratePackage property to pkgproj infra (#6728)
* Add GeneratePackage property to pkgproj infra <GeneratePackage /> controls if a package should be created when the pkgproj is invoked. This allows to filter at project level instead of at traversal. * Update Packaging.targets
- Loading branch information
1 parent
a699761
commit a81310d
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
6 changes: 4 additions & 2 deletions
6
...osoft.DotNet.Build.Tasks.Packaging/src/build/Microsoft.DotNet.Build.Tasks.Packaging.props
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
<PropertyGroup> | ||
<IsPackable Condition="'$(MSBuildProjectExtension)' == '.pkgproj'">true</IsPackable> | ||
<PropertyGroup Condition="'$(MSBuildProjectExtension)' == '.pkgproj'"> | ||
<IsPackable>true</IsPackable> | ||
<!-- Additional property which no-ops the pkgproj entrypoint targets for more flexibility during servicing. --> | ||
<GeneratePackage Condition="'$(GeneratePackage)' == ''">true</GeneratePackage> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters