Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions eng/dcppack/Common.projitems
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,17 @@

<Target Name="Build" />

<Target Name="GetDCPBinaryLocation" Returns="$(DCPBinariesLocation)" DependsOnTargets="Restore">
<Target Name="_CopyDCPBinaryToIntermediateDir" AfterTargets="Build">
<ItemGroup>
<_DcpFilesToCopy Include="$(NuGetPackageRoot)microsoft.developercontrolplane.$(DcpPlatform)/$(MicrosoftDeveloperControlPlanedarwinamd64PackageVersion)\tools\**\*" />
</ItemGroup>

<Copy SourceFiles="@(_DcpFilesToCopy)" DestinationFolder="$(IntermediateOutputPath)\tools\%(RecursiveDir)" />
</Target>

<Target Name="GetDCPBinaryLocation" Returns="$(DCPBinariesLocation)">
<PropertyGroup>
<DCPBinariesLocation>$(NuGetPackageRoot)microsoft.developercontrolplane.$(DcpPlatform)/$(MicrosoftDeveloperControlPlanedarwinamd64PackageVersion)/tools</DCPBinariesLocation>
<DCPBinariesLocation>$(IntermediateOutputPath)/tools</DCPBinariesLocation>
</PropertyGroup>
</Target>

Expand Down