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 <xiaoyuz@microsoft.com>
This commit is contained in:
Родитель
09265b09d5
Коммит
d266c86096
|
@ -22,16 +22,19 @@
|
|||
|
||||
<Target Name="SetupPublishSymbols">
|
||||
<PropertyGroup>
|
||||
<SymbolExpirationInDays Condition="'$(SymbolExpirationInDays)'=='' and '$(SymbolExpirationDate)'==''">180</SymbolExpirationInDays>
|
||||
<SymbolExpirationInDays Condition="'$(SymbolExpirationInDays)'=='' and '$(SymbolExpirationDate)'==''">3650</SymbolExpirationInDays>
|
||||
<ConvertPortablePdbsToWindowsPdbs>false</ConvertPortablePdbsToWindowsPdbs>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<SymbolPackagesToPublish Include="$(ArtifactsDir)packages\**\*.snupkg" />
|
||||
<SymbolFilesToPublish Include="$(ArtifactsDir)SymStore\**\*.pdb" />
|
||||
</ItemGroup>
|
||||
|
||||
<Message Importance="High" Text="Publishing @(SymbolPackagesToPublish) to $(SymbolServerPath)"/>
|
||||
<Error Condition="'@(SymbolPackagesToPublish)'==''" Text="There are no symbol nuget packages to publish" />
|
||||
<Message Importance="High" Text="Publishing @(SymbolFilesToPublish) to $(SymbolServerPath)"/>
|
||||
<Warning Condition="'@(SymbolPackagesToPublish)'==''" Text="There are no symbol nuget packages to publish" />
|
||||
<Warning Condition="'@(SymbolFilesToPublish)'==''" Text="There are no symbol files to publish" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
Загрузка…
Ссылка в новой задаче