|
11 | 11 | <Import Project="..\targets\Helix.Common.props" />
|
12 | 12 | <Import Project="..\Build.props" />
|
13 | 13 | <Import Project="..\Versions.props" />
|
14 |
| - |
| 14 | + |
15 | 15 | <!-- Microsoft.DotNet.Helix.Sdk.MultiQueue.targets splits $(HelixTargetQueues) into @(HelixTargetQueue) items. -->
|
16 | 16 | <ItemGroup Condition=" '$(HelixTargetQueues)' == '' ">
|
17 | 17 | <HelixTargetQueue Condition="'$(_UseHelixOpenQueues)' == 'true'" Include="@(HelixAvailableTargetQueue)" />
|
|
26 | 26 | <HelixAccessToken Condition="'$(_UseHelixOpenQueues)' != 'true'">$(HelixApiAccessToken)</HelixAccessToken>
|
27 | 27 | <IncludeDotNetCli>true</IncludeDotNetCli>
|
28 | 28 | <DotNetCliPackageType>sdk</DotNetCliPackageType>
|
29 |
| - <DotNetCliVersion>$(NETCoreSdkVersion)</DotNetCliVersion> |
| 29 | + <DotNetCliVersion>$(NETCoreSdkVersion)</DotNetCliVersion> |
30 | 30 | <DotNetCliChannel>Current</DotNetCliChannel>
|
31 | 31 |
|
32 |
| - <!-- Copied from Microsoft.NET.DefaultOutputPaths.targets in the .NET SDK. The Helix SDK contains nothing similar. --> |
33 |
| - <BaseOutputPath Condition="'$(BaseOutputPath)' == ''">bin\</BaseOutputPath> |
| 32 | + <!-- Copied from ProjectLayout.props in the Arcade SDK. The Helix SDK contains nothing similar. --> |
| 33 | + <BaseOutputPath Condition="'$(BaseOutputPath)' == ''">$(RepoRoot)artifacts\bin\$(MSBuildProjectName)\</BaseOutputPath> |
34 | 34 | <OutputPath Condition="'$(OutputPath)' == '' and '$(PlatformName)' == 'AnyCPU'">$(BaseOutputPath)$(Configuration)\</OutputPath>
|
35 | 35 | <OutputPath Condition="'$(OutputPath)' == '' and '$(PlatformName)' != 'AnyCPU'">$(BaseOutputPath)$(PlatformName)\$(Configuration)\</OutputPath>
|
36 | 36 | </PropertyGroup>
|
|
44 | 44 | <PackageType>runtime</PackageType>
|
45 | 45 | </AdditionalDotNetPackage>
|
46 | 46 | </ItemGroup>
|
47 |
| - |
| 47 | + |
48 | 48 | <PropertyGroup Condition=" '$(ContinuousIntegrationBuild)' == 'true' ">
|
49 | 49 | <HelixType>ci</HelixType>
|
50 | 50 | <!-- Creator is not valid for internal queues -->
|
|
86 | 86 |
|
87 | 87 | <PropertyGroup>
|
88 | 88 | <SharedFxVersion>@(_ResolvedProductVersionInfo->'%(PackageVersion)')</SharedFxVersion>
|
89 |
| - </PropertyGroup> |
90 |
| - |
| 89 | + </PropertyGroup> |
| 90 | + |
91 | 91 | <Unzip Condition="Exists('$(RepoRoot)artifacts\packages\$(Configuration)\Shipping\Microsoft.AspNetCore.App.Runtime.$(TargetRuntimeIdentifier).$(SharedFxVersion).nupkg')"
|
92 |
| - SourceFiles="$(RepoRoot)artifacts\packages\$(Configuration)\Shipping\Microsoft.AspNetCore.App.Runtime.$(TargetRuntimeIdentifier).$(SharedFxVersion).nupkg" |
| 92 | + SourceFiles="$(RepoRoot)artifacts\packages\$(Configuration)\Shipping\Microsoft.AspNetCore.App.Runtime.$(TargetRuntimeIdentifier).$(SharedFxVersion).nupkg" |
93 | 93 | DestinationFolder="$(OutputPath)\AspNetCoreAppRuntimeHelixRaw" />
|
94 | 94 | <ItemGroup>
|
95 | 95 | <_appRuntimeFiles Include="$(OutputPath)\AspNetCoreAppRuntimeHelixRaw\**\*.txt" />
|
|
98 | 98 | <_appRuntimeFiles Include="$(OutputPath)\AspNetCoreAppRuntimeHelixRaw\**\*.xml" />
|
99 | 99 | </ItemGroup>
|
100 | 100 | <Copy SourceFiles="@(_appRuntimeFiles)" DestinationFolder="$(OutputPath)\AspNetCoreAppRuntimeHelix\shared\Microsoft.AspNetCore.App\$(SharedFxVersion)" />
|
101 |
| - <Unzip Condition="Exists('$(RepoRoot)artifacts\packages\$(Configuration)\Shipping\Microsoft.AspNetCore.App.Ref.$(SharedFxVersion).nupkg')" |
102 |
| - SourceFiles="$(RepoRoot)artifacts\packages\$(Configuration)\Shipping\Microsoft.AspNetCore.App.Ref.$(SharedFxVersion).nupkg" |
| 101 | + <Unzip Condition="Exists('$(RepoRoot)artifacts\packages\$(Configuration)\Shipping\Microsoft.AspNetCore.App.Ref.$(SharedFxVersion).nupkg')" |
| 102 | + SourceFiles="$(RepoRoot)artifacts\packages\$(Configuration)\Shipping\Microsoft.AspNetCore.App.Ref.$(SharedFxVersion).nupkg" |
103 | 103 | DestinationFolder="$(OutputPath)\AspNetCoreAppRuntimeHelix\packs\Microsoft.AspNetCore.App.Ref\$(SharedFxVersion)" />
|
104 | 104 | <ZipDirectory Condition="Exists('$(OutputPath)\AspNetCoreAppRuntimeHelix')"
|
105 |
| - SourceDirectory="$(OutputPath)\AspNetCoreAppRuntimeHelix" |
| 105 | + SourceDirectory="$(OutputPath)\AspNetCoreAppRuntimeHelix" |
106 | 106 | DestinationFile="$(OutputPath)\AspNetCoreAppRuntimeHelix.zip" Overwrite="true" />
|
107 |
| - |
| 107 | + |
108 | 108 | <ItemGroup>
|
109 | 109 | <HelixCorrelationPayload Include="$(OutputPath)\AspNetCoreAppRuntimeHelix.zip" Destination="$(DotNetCliDestination)" />
|
110 | 110 | </ItemGroup>
|
111 | 111 | </Target>
|
112 |
| - |
| 112 | + |
113 | 113 | <Target Name="Gather" BeforeTargets="Build">
|
114 | 114 | <MSBuild Projects="@(ProjectToBuild)"
|
115 | 115 | Targets="CreateHelixPayload"
|
|
0 commit comments