Skip to content

Commit

Permalink
fix: wrong nuget package output
Browse files Browse the repository at this point in the history
  • Loading branch information
yufeih committed Mar 21, 2023
1 parent 163bd32 commit dd61c7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<NoWarn>$(NoWarn);NU1701</NoWarn>
</PropertyGroup>

<PropertyGroup Condition=" '$(IsPackable)' == 'true' ">
<PropertyGroup>
<ContentTargetFolders>contentFiles</ContentTargetFolders>

<PublishRepositoryUrl>true</PublishRepositoryUrl>
Expand All @@ -44,11 +44,11 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>

<ItemGroup Condition=" '$(IsPackable)' == 'true' ">
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup Condition=" '$(IsPackable)' == 'true' ">
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
Expand Down

0 comments on commit dd61c7a

Please sign in to comment.