Deploy Microsoft.Web.Xdt.Extensions.pdb
- #10495 - add a general mechanism to publish "loose" PDBs also, correct a typo from af2f647d635d: always publish the log artifacts
This commit is contained in:
parent
87ea03daf1
commit
4f67ff9216
|
|
@ -131,15 +131,17 @@ jobs:
|
||||||
artifacts:
|
artifacts:
|
||||||
- name: Windows_Logs
|
- name: Windows_Logs
|
||||||
path: artifacts/log/
|
path: artifacts/log/
|
||||||
|
publishOnError: true
|
||||||
- name: Windows_Packages
|
- name: Windows_Packages
|
||||||
path: artifacts/packages/
|
path: artifacts/packages/
|
||||||
|
- name: Windows_Symbols
|
||||||
|
path: artifacts/symbols/
|
||||||
- name: Windows_VSIX
|
- name: Windows_VSIX
|
||||||
path: artifacts/VSSetup/
|
path: artifacts/VSSetup/
|
||||||
- name: Windows_Manifests
|
- name: Windows_Manifests
|
||||||
path: artifacts/manifests/
|
path: artifacts/manifests/
|
||||||
- name: Windows_Installers
|
- name: Windows_Installers
|
||||||
path: artifacts/installers/
|
path: artifacts/installers/
|
||||||
publishOnError: true
|
|
||||||
|
|
||||||
# Build Windows ARM
|
# Build Windows ARM
|
||||||
- template: jobs/default-build.yml
|
- template: jobs/default-build.yml
|
||||||
|
|
|
||||||
|
|
@ -117,6 +117,7 @@
|
||||||
<!-- Artifacts layout -->
|
<!-- Artifacts layout -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<InstallersOutputPath>$(ArtifactsDir)installers\$(Configuration)\</InstallersOutputPath>
|
<InstallersOutputPath>$(ArtifactsDir)installers\$(Configuration)\</InstallersOutputPath>
|
||||||
|
<SymbolsOutputPath>$(ArtifactsDir)symbols\$(Configuration)\</SymbolsOutputPath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Ensure these output paths exist. -->
|
<!-- Ensure these output paths exist. -->
|
||||||
|
|
|
||||||
|
|
@ -118,6 +118,19 @@
|
||||||
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition=" '$(CopySymbolsToArtifacts)' == 'true' AND '$(TargetFramework)' != '' ">
|
||||||
|
<BuildDependsOn>$(BuildDependsOn);_CopySymbolsToArtifacts</BuildDependsOn>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<Target Name="_CopySymbolsToArtifacts">
|
||||||
|
<Copy SourceFiles="$([System.IO.Path]::ChangeExtension('$(TargetPath)', 'pdb'))"
|
||||||
|
DestinationFolder="$(SymbolsOutputPath)$(TargetFramework)"
|
||||||
|
OverwriteReadOnlyFiles="$(OverwriteReadOnlyFiles)"
|
||||||
|
Retries="$(CopyRetryCount)"
|
||||||
|
RetryDelayMilliseconds="$(CopyRetryDelayMilliseconds)"
|
||||||
|
SkipUnchangedFiles="$(SkipCopyUnchangedFiles)" />
|
||||||
|
</Target>
|
||||||
|
|
||||||
<Import Project="eng\Workarounds.targets" />
|
<Import Project="eng\Workarounds.targets" />
|
||||||
<Import Project="eng\targets\ResolveIisReferences.targets" Condition=" '$(MSBuildProjectExtension)' != '.vcxproj' " />
|
<Import Project="eng\targets\ResolveIisReferences.targets" Condition=" '$(MSBuildProjectExtension)' != '.vcxproj' " />
|
||||||
<Import Project="eng\targets\Cpp.Common.targets" Condition="'$(MSBuildProjectExtension)' == '.vcxproj'" />
|
<Import Project="eng\targets\Cpp.Common.targets" Condition="'$(MSBuildProjectExtension)' == '.vcxproj'" />
|
||||||
|
|
|
||||||
|
|
@ -54,9 +54,11 @@
|
||||||
|
|
||||||
<Target Name="SetupPublishSymbols">
|
<Target Name="SetupPublishSymbols">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<SymbolFilesToPublish Include="$(SymbolDirectory)/**/*.pdb" />
|
||||||
<SymbolPackagesToPublish Include="$(SymbolDirectory)/**/*.symbols.nupkg" />
|
<SymbolPackagesToPublish Include="$(SymbolDirectory)/**/*.symbols.nupkg" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Message Importance="High" Text="Publishing symbol files to '$(SymbolServerDescription)':%0A @(SymbolFilesToPublish, '%0A ')" />
|
||||||
<Message Importance="High" Text="Publishing symbol packages to '$(SymbolServerDescription)':%0A @(SymbolPackagesToPublish, '%0A ')"/>
|
<Message Importance="High" Text="Publishing symbol packages to '$(SymbolServerDescription)':%0A @(SymbolPackagesToPublish, '%0A ')"/>
|
||||||
</Target>
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Description>Additional functionality for Xdt transforms.</Description>
|
<Description>Additional functionality for Xdt transforms.</Description>
|
||||||
<TargetFramework>net461</TargetFramework>
|
<TargetFramework>net461</TargetFramework>
|
||||||
|
<CopySymbolsToArtifacts>true</CopySymbolsToArtifacts>
|
||||||
<IsPackable>false</IsPackable>
|
<IsPackable>false</IsPackable>
|
||||||
<HasReferenceAssembly>false</HasReferenceAssembly>
|
<HasReferenceAssembly>false</HasReferenceAssembly>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue