Skip to content

Commit

Permalink
Use Title property as default for AssemblyTitle
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeago committed Nov 9, 2023
1 parent bb94a44 commit 48d0a7b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<Project>

<!--
Use the Title property (used for package title by module NuGetPack) as default for AssemblyTitle.
-->
<PropertyGroup>
<AssemblyTitle Condition="'$(AssemblyTitle)' == ''">$(Title)</AssemblyTitle>
</PropertyGroup>

<!-- Redefine Pack target-->

<PropertyGroup>
Expand Down
7 changes: 7 additions & 0 deletions src/Buildvana.Sdk/Modules/NuGetPack/Module.Core.targets
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<Project>

<!--
Use the Title property (used for package title in packable projects) as default for AssemblyTitle.
-->
<PropertyGroup>
<AssemblyTitle Condition="'$(AssemblyTitle)' == ''">$(Title)</AssemblyTitle>
</PropertyGroup>

<!-- IsPackable default = true for libraries, otherwise false. -->
<PropertyGroup Condition="'$(IsPackable)' == ''">
<IsPackable Condition="'$(BV_IsLibraryProject)' == 'true'">true</IsPackable>
Expand Down

0 comments on commit 48d0a7b

Please sign in to comment.