Skip to content
This repository has been archived by the owner on Oct 18, 2018. It is now read-only.

Commit

Permalink
Include symbols in sharedfx
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Feb 1, 2018
1 parent 8d584b1 commit 840c818
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions build/SharedFx.targets
Original file line number Diff line number Diff line change
Expand Up @@ -352,19 +352,10 @@

<Target Name="PackSharedFx">
<ItemGroup>
<CrossGenOutput Include="$(SharedFxCrossGenDirectory)**\*.dll" />
<CrossGenSymbols Include="$(SharedFxCrossGenDirectory)**\*" Exclude="@(CrossGenOutput)" />
<CrossGenOutput Include="$(SharedFxCrossGenDirectory)**\*" />
</ItemGroup>

<!-- Create symbols archive -->
<ZipArchive
File="$(SharedFxOutputPath)$(SharedFxInstallerName)-symbols-$(PackageVersion)-$(SharedFxRID).zip"
SourceFiles="@(CrossGenSymbols)"
WorkingDirectory="$(SharedFxCrossGenDirectory)"
Overwrite="true"
Condition="$([MSBuild]::IsOSPlatform('Linux')) OR $([MSBuild]::IsOSPlatform('Windows'))"/>

<!-- Replace assemblies with crossgen output -->
<!-- Replace assemblies with crossgen output and copy over crossgen symbols -->
<Copy
SourceFiles="$(SharedFxCrossGenDirectory)%(CrossGenOutput.RecursiveDir)%(CrossGenOutput.FileName)%(CrossGenOutput.Extension)"
DestinationFiles="$(SharedFxIntermediateOutputPath)%(CrossGenOutput.RecursiveDir)%(CrossGenOutput.FileName)%(CrossGenOutput.Extension)"
Expand Down

0 comments on commit 840c818

Please sign in to comment.