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
…#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 Dec 21, 2020
1 parent 6fdcbb9 commit de751cf
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 de751cf

Please sign in to comment.