Skip to content

Commit

Permalink
Updating the common props to respect SymbolPackageFormat (#1671)
Browse files Browse the repository at this point in the history
  • Loading branch information
allenjzhang authored Jun 10, 2021
1 parent 30dd4b0 commit 98a65a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<NoWarn>1591;1701;1573;CS1591;MSB3245;3245</NoWarn>
<SymbolPackageFormat Condition=" '$(SymbolPackageFormat)' == ''">snupkg</SymbolPackageFormat>
</PropertyGroup>

<PropertyGroup Condition=" '$(TargetFramework)'=='net452' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<Message Text="Target ==> CleaningNugetPackages Initiated....." Importance="Low" />
<ItemGroup>
<_SDKPackageFilesToDelete Include="$(PackageOutputPath)\*.nupkg"/>
<_SDKPackageFilesToDelete Include="$(PackageOutputPath)\*.snupkg"/>
<_SDKPackageFilesToDelete Include="$(PackageOutputPath)\*.$(SymbolPackageFormat)"/>
<_SDKPackageFilesToDelete Include="$(BaseIntermediateOutputPath)\*.nuspec"/>
</ItemGroup>
<Message Text="Cleaning Packages..... @(_SDKPackageFilesToDelete)" Condition=" '@(_SDKPackageFilesToDelete)' != '' " />
Expand Down Expand Up @@ -160,7 +160,7 @@
PackageOutputPath=$(NugPkgOutPutDirPath);
NoPackageAnalysis=true;
IncludeSymbols=true;
SymbolPackageFormat=snupkg;
SymbolPackageFormat=$(SymbolPackageFormat);
IsPackable=true;
NoBuild=true;" Condition=" ('@(ProjectsToPackage)' != '') OR ('$(WhatIf)' != 'true') ">
<Output TaskParameter="TargetOutputs" ItemName="SdkNuGetPackages" />
Expand Down

0 comments on commit 98a65a4

Please sign in to comment.