Skip to content

Commit

Permalink
Only use PackageDescriptionFile if Description isn't already provided (
Browse files Browse the repository at this point in the history
…dotnet#6713)

* Only use PackageDescriptionFile if Description isn't already provided

Allows to set the Description via msbuild instead of via a PackageDescriptionFile.
  • Loading branch information
ViktorHofer authored and akoeplinger committed Apr 12, 2021
1 parent c0af94c commit 44c24de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
<Title>$(Id)</Title>
<Authors>Microsoft</Authors>
<Owners>microsoft,dotnetframework</Owners>
<Description>TODO</Description>
<IconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</IconUrl>
<Tags></Tags>
<RequireLicenseAcceptance Condition="'$(RequireLicenseAcceptance)' == ''">false</RequireLicenseAcceptance>
Expand Down Expand Up @@ -856,6 +855,7 @@
</Target>

<Target Name="GetPackageDescription"
Condition="'$(Description)' == '' and '$(PackageDescription)' == ''"
DependsOnTargets="GetSyncInfo">
<PropertyGroup>
<UseRuntimePackageDescription Condition="'$(UseRuntimePackageDescription)' == '' AND $(BaseId.StartsWith('runtime.native'))">true</UseRuntimePackageDescription>
Expand Down

0 comments on commit 44c24de

Please sign in to comment.