1+ <Project >
2+   <Import  Sdk =" Microsoft.NET.Sdk" Project =" Sdk.props" 
3+ 
4+   <Import  Project =" ../../src/Shared/Workload.targets" 
5+ 
6+   <PropertyGroup >
7+     <TargetFramework >net8.0</TargetFramework >
8+     <IsPackable >true</IsPackable >
9+     <SuppressDependenciesWhenPacking >true</SuppressDependenciesWhenPacking >
10+     <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
11+     <IncludeBuildOutput >false</IncludeBuildOutput >
12+     <PackageOutputPath  Condition ="  '$(PackageOutputPath)' == '' " PackageOutputPath >
13+   </PropertyGroup >
14+ 
15+   <PropertyGroup >
16+     <DcpRuntime  Condition ="  '$(DcpRuntime)' == '' " DcpRuntime >
17+     <DcpPlatform  Condition ="  '$(DcpPlatform)' == '' " DcpPlatform >
18+     <DcpPlatformType  Condition ="  '$(DcpPlatformType)' == '' and $(DcpPlatform.StartsWith('windows-')) " DcpPlatformType >
19+     <DcpPlatformType  Condition ="  '$(DcpPlatformType)' == '' " DcpPlatformType >
20+   </PropertyGroup >
21+ 
22+   <PropertyGroup >
23+     <PackageId >Aspire.Hosting.Orchestration.$(DcpRuntime)</PackageId >
24+     <Description >.NET Aspire Orchestration Dependencies</Description >
25+   </PropertyGroup >
26+ 
27+   <!--  Package downloads to DCP packages as we need to repack the binaries from them --> 
28+   <ItemGroup >
29+     <PackageDownload  Include =" Microsoft.DeveloperControlPlane.darwin-amd64" Version =" [$(_DcpVersion)]" 
30+     <PackageDownload  Include =" Microsoft.DeveloperControlPlane.darwin-arm64" Version =" [$(_DcpVersion)]" 
31+     <PackageDownload  Include =" Microsoft.DeveloperControlPlane.linux-amd64" Version =" [$(_DcpVersion)]" 
32+     <PackageDownload  Include =" Microsoft.DeveloperControlPlane.linux-arm64" Version =" [$(_DcpVersion)]" 
33+     <PackageDownload  Include =" Microsoft.DeveloperControlPlane.windows-386" Version =" [$(_DcpVersion)]" 
34+     <PackageDownload  Include =" Microsoft.DeveloperControlPlane.windows-amd64" Version =" [$(_DcpVersion)]" 
35+     <PackageDownload  Include =" Microsoft.DeveloperControlPlane.windows-arm64" Version =" [$(_DcpVersion)]" 
36+   </ItemGroup >
37+ 
38+   <Import  Sdk =" Microsoft.NET.Sdk" Project =" Sdk.targets" 
39+ 
40+   <Target  Name =" Build" 
41+ 
42+   <ItemGroup >
43+     <None  Include =" $(NuGetPackageRoot)Microsoft.DeveloperControlPlane.$(DcpPlatform)/$(_DcpVersion)/NOTICE" Pack =" true" PackagePath =" /" 
44+     <None  Include =" $(NuGetPackageRoot)Microsoft.DeveloperControlPlane.$(DcpPlatform)/$(_DcpVersion)/tools/**/*" Pack =" true" PackagePath =" tools/" 
45+     <None  Include =" Sdk.props" Pack =" true" PackagePath =" sdk/" 
46+     <None  Include =" Sdk.in.targets" PerformTextReplacement =" True" Pack =" true" PackagePath =" sdk/" 
47+     <None  Include =" Aspire.Hosting.Orchestration.props" pack =" true" PackagePath =" build/$(PackageId).props" 
48+     <None  Include =" Aspire.Hosting.Orchestration.targets" pack =" true" PackagePath =" build/$(PackageId).targets" 
49+     <None  Include =" UnixFilePermissions.xml" Pack =" true" PackagePath =" data/" Condition ="  '$(DcpPlatformType)' == 'Unix' " 
50+   </ItemGroup >
51+ 
52+   <ItemGroup >
53+     <TextReplacementValue  Include =" RUNTIME" NewValue =" $(DcpRuntime)" 
54+   </ItemGroup >
55+ 
56+ </Project >
0 commit comments