Skip to content

Commit

Permalink
Use renamed IsPackable flag instead of CreatePackage
Browse files Browse the repository at this point in the history
This fixes, among other things, that the MORYX logo gets included in packages.
  • Loading branch information
seveneleven committed May 16, 2024
1 parent deedfb1 commit 2bd3e05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>

<Import Project=".build\Common.props" Condition="'$(CreatePackage)' == 'true'" />
<Import Project=".build\Common.props" Condition="'$(IsPackable)' == 'true'" />

<PropertyGroup>
<dotnetVersion>8.0.0</dotnetVersion>
Expand All @@ -10,8 +10,8 @@
<LangVersion>latest</LangVersion>
</PropertyGroup>

<!-- Package refereces for all projects if CreatePackage=true -->
<ItemGroup Condition="'$(CreatePackage)' == 'true'">
<!-- Package refereces for all projects if IsPackable=true -->
<ItemGroup Condition="'$(IsPackable)' == 'true'">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>

Expand Down

0 comments on commit 2bd3e05

Please sign in to comment.