File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
src/Installer/redist-installer Expand file tree Collapse file tree 2 files changed +10
-7
lines changed 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" />
You can’t perform that action at this time.
0 commit comments