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:
|
||||
- name: Windows_Logs
|
||||
path: artifacts/log/
|
||||
publishOnError: true
|
||||
- name: Windows_Packages
|
||||
path: artifacts/packages/
|
||||
- name: Windows_Symbols
|
||||
path: artifacts/symbols/
|
||||
- name: Windows_VSIX
|
||||
path: artifacts/VSSetup/
|
||||
- name: Windows_Manifests
|
||||
path: artifacts/manifests/
|
||||
- name: Windows_Installers
|
||||
path: artifacts/installers/
|
||||
publishOnError: true
|
||||
|
||||
# Build Windows ARM
|
||||
- template: jobs/default-build.yml
|
||||
|
|
|
|||
|
|
@ -117,6 +117,7 @@
|
|||
<!-- Artifacts layout -->
|
||||
<PropertyGroup>
|
||||
<InstallersOutputPath>$(ArtifactsDir)installers\$(Configuration)\</InstallersOutputPath>
|
||||
<SymbolsOutputPath>$(ArtifactsDir)symbols\$(Configuration)\</SymbolsOutputPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Ensure these output paths exist. -->
|
||||
|
|
|
|||
|
|
@ -118,6 +118,19 @@
|
|||
|
||||
</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\targets\ResolveIisReferences.targets" Condition=" '$(MSBuildProjectExtension)' != '.vcxproj' " />
|
||||
<Import Project="eng\targets\Cpp.Common.targets" Condition="'$(MSBuildProjectExtension)' == '.vcxproj'" />
|
||||
|
|
|
|||
|
|
@ -54,9 +54,11 @@
|
|||
|
||||
<Target Name="SetupPublishSymbols">
|
||||
<ItemGroup>
|
||||
<SymbolFilesToPublish Include="$(SymbolDirectory)/**/*.pdb" />
|
||||
<SymbolPackagesToPublish Include="$(SymbolDirectory)/**/*.symbols.nupkg" />
|
||||
</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 ')"/>
|
||||
</Target>
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
<PropertyGroup>
|
||||
<Description>Additional functionality for Xdt transforms.</Description>
|
||||
<TargetFramework>net461</TargetFramework>
|
||||
<CopySymbolsToArtifacts>true</CopySymbolsToArtifacts>
|
||||
<IsPackable>false</IsPackable>
|
||||
<HasReferenceAssembly>false</HasReferenceAssembly>
|
||||
</PropertyGroup>
|
||||
|
|
|
|||
Loading…
Reference in New Issue