File tree Expand file tree Collapse file tree 4 files changed +17
-13
lines changed
eng/pipelines/templates/jobs
src/Installer/redist-installer Expand file tree Collapse file tree 4 files changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ jobs:
411
411
$(signArguments)
412
412
$(buildPassArguments)
413
413
$(ibcArguments)
414
- $(_SignDiagnosicFilesArgs )
414
+ $(_SignDiagnosticFilesArgs )
415
415
${{ parameters.extraProperties }}
416
416
displayName : Build
417
417
workingDirectory : ${{ variables.sourcesPath }}
Original file line number Diff line number Diff line change 26
26
27
27
<PortableProductMonikerRid Condition =" '$(PortableProductMonikerRid)' == ''" >$(PortableRid)</PortableProductMonikerRid >
28
28
29
- <PgoTerm >-pgo</PgoTerm >
29
+ <PgoTerm Condition = " '$(PgoInstrument)' == 'true' " >-pgo</PgoTerm >
30
30
<ArtifactNameSdk >dotnet-sdk-internal$(PgoTerm)</ArtifactNameSdk >
31
-
32
- <ArtifactNameWithVersionSdk >$(ArtifactNameSdk)-$(Version)-$(ProductMonikerRid)</ArtifactNameWithVersionSdk >
33
- <ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk >dotnet-sdk$(PgoTerm)-$(Version)-$(ProductMonikerRid)</ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk >
34
- <!-- Warning: changing the value "ProductBandCombinedHostHostFxrFrameworkSdkName" can only occur on a product-band boundary [CliProductBandVersion],
35
- Changing "ProductBandCombinedHostHostFxrFrameworkSdkName" mid-product-band will break the upgradability of the SDK bundle installer. -->
36
- <ProductBandCombinedHostHostFxrFrameworkSdkName >Dotnet SDK Bundle Installer $(CliProductBandVersion) $(ProductMonikerRid)</ProductBandCombinedHostHostFxrFrameworkSdkName >
37
31
</PropertyGroup >
38
32
39
33
<PropertyGroup >
Original file line number Diff line number Diff line change 9
9
<SdkOutputDirectory >$(RedistLayoutPath)sdk\$(Version)\</SdkOutputDirectory >
10
10
</PropertyGroup >
11
11
12
+ <PropertyGroup >
13
+ <!-- Any properties that depend on Version and are not in a Target must not be defined in Directory.Build.props as Version won't be available yet. -->
14
+ <ArtifactNameWithVersionSdk >$(ArtifactNameSdk)-$(Version)-$(ProductMonikerRid)</ArtifactNameWithVersionSdk >
15
+ <ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk >dotnet-sdk$(PgoTerm)-$(Version)-$(ProductMonikerRid)</ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk >
16
+ <!-- Warning: changing the value "ProductBandCombinedHostHostFxrFrameworkSdkName" can only occur on a product-band boundary [CliProductBandVersion],
17
+ Changing "ProductBandCombinedHostHostFxrFrameworkSdkName" mid-product-band will break the upgradability of the SDK bundle installer. -->
18
+ <ProductBandCombinedHostHostFxrFrameworkSdkName >Dotnet SDK Bundle Installer $(CliProductBandVersion) $(ProductMonikerRid)</ProductBandCombinedHostHostFxrFrameworkSdkName >
19
+ </PropertyGroup >
20
+
12
21
<Import Project =" $(RepoRoot)src\Tasks\sdk-tasks\sdk-tasks.InTree.targets" />
13
22
<Import Project =" targets\BundledTemplates.targets" />
14
23
<Import Project =" targets\BundledManifests.targets" />
15
24
<Import Project =" targets\BundledDotnetTools.targets" />
16
25
<Import Project =" targets\GenerateBundledVersions.targets" />
17
- <!-- Crossgen is currently not supported on the s390x, ppc64le architecture as using mono instead of CoreCLR. -->
18
- <Import Project =" targets\Crossgen.targets"
19
- Condition =" '$(DISABLE_CROSSGEN)' == '' AND '$(Architecture)' != 's390x' AND '$(Architecture)' != 'ppc64le'" />
26
+ <Import Project =" targets\Crossgen.targets" />
20
27
<Import Project =" targets\GenerateLayout.targets" />
21
28
<Import Project =" targets\GenerateArchives.targets" Condition =" '$(PackInstaller)' != 'false'" />
22
29
<Import Project =" targets\GenerateMSIs.targets" />
Original file line number Diff line number Diff line change 1
1
<Project >
2
2
3
3
<PropertyGroup >
4
+ <!-- Crossgen is currently not supported on the s390x, ppc64le architecture as using mono instead of CoreCLR. -->
5
+ <IsCrossgenSupported Condition =" '$(DISABLE_CROSSGEN)' == '' AND '$(Architecture)' != 's390x' AND '$(Architecture)' != 'ppc64le'" >true</IsCrossgenSupported >
6
+
4
7
<Crossgen2Rid >$(HostOSName)-$(BuildArchitecture)</Crossgen2Rid >
5
8
<Crossgen2Rid Condition =" '$(DotNetBuildSourceOnly)' == 'true'" >$(SharedFrameworkRid)</Crossgen2Rid >
6
9
7
10
<RuntimeNETCrossgenPackageName >microsoft.netcore.app.crossgen2.$(Crossgen2Rid)</RuntimeNETCrossgenPackageName >
8
11
</PropertyGroup >
9
12
10
13
<!-- Download the runtime package with the crossgen executable in it -->
11
- <ItemGroup >
14
+ <ItemGroup Condition = " '$(IsCrossgenSupported)' == 'true' " >
12
15
<PackageDownload Include =" $(RuntimeNETCrossgenPackageName)" Version =" [$(MicrosoftNETCoreAppRuntimePackageVersion)]" />
13
16
</ItemGroup >
14
17
15
- <Target Name =" CrossgenLayout" >
18
+ <Target Name =" CrossgenLayout" Condition = " '$(IsCrossgenSupported)' == 'true' " >
16
19
<PropertyGroup >
17
20
<CrossgenPath >$(NuGetPackageRoot)$(RuntimeNETCrossgenPackageName)/$(MicrosoftNETCoreAppRuntimePackageVersion)/tools/crossgen2$(ExeExtension)</CrossgenPath >
18
21
<CreateCrossgenSymbols Condition =" '$(CreateCrossgenSymbols)' == ''" >true</CreateCrossgenSymbols >
You can’t perform that action at this time.
0 commit comments