Skip to content

Commit 11dd8ba

Browse files
wtgodbeCopilot
andauthored
Make sure .pdb for AspnetcoreCA gets published to symbol server (#63587)
* Make sure .pdb for AspnetcoreCA gets published * Update src/Installers/Windows/AspNetCoreModule-Setup/CustomAction/aspnetcoreCA.vcxproj Co-authored-by: Copilot <[email protected]> * Update PDB file destination path for IISCustomActionDll --------- Co-authored-by: Copilot <[email protected]>
1 parent f742dc7 commit 11dd8ba

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Installers/Windows/AspNetCoreModule-Setup/CustomAction/aspnetcoreCA.vcxproj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,13 @@
9393
</ProjectReference>
9494
</ItemGroup>
9595
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
96+
97+
<Target Name="_CopySymbolsToPublishDir" AfterTargets="Build" >
98+
<ItemGroup>
99+
<_BuiltPdbPath Include="$([System.IO.Path]::ChangeExtension($(TargetPath), '.pdb'))" />
100+
</ItemGroup>
101+
102+
<Copy SourceFiles="@(_BuiltPdbPath)" DestinationFiles="$(SymbolsOutputPath)$(TargetName)\$(TargetName).pdb" />
103+
<Copy SourceFiles="@(_BuiltPdbPath)" DestinationFiles="$(SymbolsOutputPath)IISCustomActionDll\IISCustomActionDll.pdb" />
104+
</Target>
96105
</Project>

0 commit comments

Comments
 (0)