Skip to content

Commit d266c86

Browse files
upload classic pdb to symweb (#5816)
* use cibuild to upload symbols * add native dll& pdb * enable converting to windows pdb * include pdbs in symstore Co-authored-by: XiaoYun Zhang <[email protected]>
1 parent 09265b0 commit d266c86

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build/publish.proj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,19 @@
2222

2323
<Target Name="SetupPublishSymbols">
2424
<PropertyGroup>
25-
<SymbolExpirationInDays Condition="'$(SymbolExpirationInDays)'=='' and '$(SymbolExpirationDate)'==''">180</SymbolExpirationInDays>
25+
<SymbolExpirationInDays Condition="'$(SymbolExpirationInDays)'=='' and '$(SymbolExpirationDate)'==''">3650</SymbolExpirationInDays>
2626
<ConvertPortablePdbsToWindowsPdbs>false</ConvertPortablePdbsToWindowsPdbs>
2727
</PropertyGroup>
2828

2929
<ItemGroup>
3030
<SymbolPackagesToPublish Include="$(ArtifactsDir)packages\**\*.snupkg" />
31+
<SymbolFilesToPublish Include="$(ArtifactsDir)SymStore\**\*.pdb" />
3132
</ItemGroup>
3233

3334
<Message Importance="High" Text="Publishing @(SymbolPackagesToPublish) to $(SymbolServerPath)"/>
34-
<Error Condition="'@(SymbolPackagesToPublish)'==''" Text="There are no symbol nuget packages to publish" />
35+
<Message Importance="High" Text="Publishing @(SymbolFilesToPublish) to $(SymbolServerPath)"/>
36+
<Warning Condition="'@(SymbolPackagesToPublish)'==''" Text="There are no symbol nuget packages to publish" />
37+
<Warning Condition="'@(SymbolFilesToPublish)'==''" Text="There are no symbol files to publish" />
3538
</Target>
3639

3740
</Project>

0 commit comments

Comments
 (0)