Skip to content

Commit fb5236b

Browse files
authored
Merge branch 'release/10.0.1xx-preview2' into darc-release/10.0.1xx-preview2-db01bf9e-1051-453c-a780-6ee4da1c2295
2 parents 4d6a723 + 6a7ac2c commit fb5236b

File tree

4 files changed

+17
-13
lines changed

4 files changed

+17
-13
lines changed

eng/pipelines/templates/jobs/vmr-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ jobs:
411411
$(signArguments)
412412
$(buildPassArguments)
413413
$(ibcArguments)
414-
$(_SignDiagnosicFilesArgs)
414+
$(_SignDiagnosticFilesArgs)
415415
${{ parameters.extraProperties }}
416416
displayName: Build
417417
workingDirectory: ${{ variables.sourcesPath }}

src/Installer/redist-installer/Directory.Build.props

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,8 @@
2626

2727
<PortableProductMonikerRid Condition="'$(PortableProductMonikerRid)' == ''">$(PortableRid)</PortableProductMonikerRid>
2828

29-
<PgoTerm>-pgo</PgoTerm>
29+
<PgoTerm Condition="'$(PgoInstrument)' == 'true'">-pgo</PgoTerm>
3030
<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>
3731
</PropertyGroup>
3832

3933
<PropertyGroup>

src/Installer/redist-installer/Directory.Build.targets

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,21 @@
99
<SdkOutputDirectory>$(RedistLayoutPath)sdk\$(Version)\</SdkOutputDirectory>
1010
</PropertyGroup>
1111

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+
1221
<Import Project="$(RepoRoot)src\Tasks\sdk-tasks\sdk-tasks.InTree.targets" />
1322
<Import Project="targets\BundledTemplates.targets" />
1423
<Import Project="targets\BundledManifests.targets" />
1524
<Import Project="targets\BundledDotnetTools.targets" />
1625
<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" />
2027
<Import Project="targets\GenerateLayout.targets" />
2128
<Import Project="targets\GenerateArchives.targets" Condition="'$(PackInstaller)' != 'false'"/>
2229
<Import Project="targets\GenerateMSIs.targets" />

src/Installer/redist-installer/targets/Crossgen.targets

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
<Project>
22

33
<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+
47
<Crossgen2Rid>$(HostOSName)-$(BuildArchitecture)</Crossgen2Rid>
58
<Crossgen2Rid Condition="'$(DotNetBuildSourceOnly)' == 'true'">$(SharedFrameworkRid)</Crossgen2Rid>
69

710
<RuntimeNETCrossgenPackageName>microsoft.netcore.app.crossgen2.$(Crossgen2Rid)</RuntimeNETCrossgenPackageName>
811
</PropertyGroup>
912

1013
<!-- Download the runtime package with the crossgen executable in it -->
11-
<ItemGroup>
14+
<ItemGroup Condition="'$(IsCrossgenSupported)' == 'true'">
1215
<PackageDownload Include="$(RuntimeNETCrossgenPackageName)" Version="[$(MicrosoftNETCoreAppRuntimePackageVersion)]" />
1316
</ItemGroup>
1417

15-
<Target Name="CrossgenLayout">
18+
<Target Name="CrossgenLayout" Condition="'$(IsCrossgenSupported)' == 'true'">
1619
<PropertyGroup>
1720
<CrossgenPath>$(NuGetPackageRoot)$(RuntimeNETCrossgenPackageName)/$(MicrosoftNETCoreAppRuntimePackageVersion)/tools/crossgen2$(ExeExtension)</CrossgenPath>
1821
<CreateCrossgenSymbols Condition="'$(CreateCrossgenSymbols)' == ''">true</CreateCrossgenSymbols>

0 commit comments

Comments
 (0)