File tree 3 files changed +14
-14
lines changed
3 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 18
18
</ItemDefinitionGroup >
19
19
20
20
<PropertyGroup Condition =" '$(OutputType)' == 'package'" >
21
+ <!-- Set package version for SharedFx & TargetingPack wixproj's -->
22
+ <!-- Everything built in those projects _except_ the final package & MSI are shipping assets. -->
23
+ <_GeneratedPackageVersion >$(PackageVersion)</_GeneratedPackageVersion >
24
+ <_GeneratedPackageVersion
25
+ Condition =" ! $(PackageVersion.Contains('$(_PreReleaseLabel)'))" >$(PackageVersion)-$(_PreReleaseLabel)$(_BuildNumberLabels)</_GeneratedPackageVersion >
26
+ <!-- Insert PackageVersion into OutputName for SharedFx & TargetingPack -->
27
+ <OutputName Condition =" '$(OutputNamePrefix)' != '' AND '$(OutputNameSuffix)' != ''" >$(OutputNamePrefix)$(_GeneratedPackageVersion)$(OutputNameSuffix)</OutputName >
28
+
21
29
<EmbedCab Condition =" '$(EmbedCab)' == ''" >yes</EmbedCab >
22
30
<Cabinet Condition =" '$(Cabinet)' == ''" >$(OutputName.Replace('-', '_')).cab</Cabinet >
23
31
<InstallDir >$(ProductName)</InstallDir >
Original file line number Diff line number Diff line change 3
3
<Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
4
4
5
5
<PropertyGroup >
6
+ <OutputNamePrefix >$(RuntimeInstallerBaseName)-</OutputNamePrefix >
7
+ <OutputNameSuffix >-win-$(Platform)</OutputNameSuffix >
6
8
<ProductNameFolder >Microsoft ASP.NET Core Shared Framework</ProductNameFolder >
7
9
<ProductNameShort >AspNetCore.SharedFramework</ProductNameShort >
8
- <Name >AspNetCoreSharedFramework</Name >
9
- <OutputName >$(Name)-$(Platform)</OutputName >
10
10
<OutputType >Package</OutputType >
11
11
<EmbedCab >yes</EmbedCab >
12
12
<Cabinet >sfx_$(Platform).cab</Cabinet >
80
80
<Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
81
81
82
82
<PropertyGroup >
83
- <!-- Everything built in this project _except_ the final package & MSI are shipping assets. -->
84
- <_GeneratedPackageVersion >$(PackageVersion)</_GeneratedPackageVersion >
85
- <_GeneratedPackageVersion
86
- Condition =" ! $(PackageVersion.Contains('$(_PreReleaseLabel)'))" >$(PackageVersion)-$(_PreReleaseLabel)$(_BuildNumberLabels)</_GeneratedPackageVersion >
87
- <PackageFileName >$(RuntimeInstallerBaseName)-$(_GeneratedPackageVersion)-win-$(Platform)$(TargetExt)</PackageFileName >
83
+ <PackageFileName >$(OutputName)$(TargetExt)</PackageFileName >
88
84
<ProductName >Microsoft ASP.NET Core $(PackageBrandingVersion) Shared Framework ($(Platform))</ProductName >
89
85
<DefineConstants >$(DefineConstants);ProductName=$(ProductName)</DefineConstants >
90
86
</PropertyGroup >
Original file line number Diff line number Diff line change 3
3
<Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
4
4
5
5
<PropertyGroup >
6
+ <OutputNamePrefix >$(TargetingPackInstallerBaseName)-</OutputNamePrefix >
7
+ <OutputNameSuffix >-win-$(Platform)</OutputNameSuffix >
6
8
<ProductNameFolder >Microsoft ASP.NET Core Targeting Pack</ProductNameFolder >
7
9
<ProductNameShort >AspNetCore.TargetingPack</ProductNameShort >
8
- <Name >AspNetCoreTargetingPack</Name >
9
- <OutputName >$(Name)-$(Platform)</OutputName >
10
10
<OutputType >Package</OutputType >
11
11
<IsShipping >true</IsShipping >
12
12
<SkipCopyToArtifactsDirectory Condition =" '$(IsTargetingPackBuilding)' == 'false'" >true</SkipCopyToArtifactsDirectory >
72
72
<Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
73
73
74
74
<PropertyGroup >
75
- <!-- Everything built in this project _except_ the final package are shipping assets. -->
76
- <_GeneratedPackageVersion >$(PackageVersion)</_GeneratedPackageVersion >
77
- <_GeneratedPackageVersion
78
- Condition =" ! $(PackageVersion.Contains('$(_PreReleaseLabel)'))" >$(PackageVersion)-$(_PreReleaseLabel)$(_BuildNumberLabels)</_GeneratedPackageVersion >
79
75
<ProductName >Microsoft ASP.NET Core $(PackageBrandingVersion) Targeting Pack ($(Platform))</ProductName >
80
- <PackageFileName >$(TargetingPackInstallerBaseName)-$(_GeneratedPackageVersion)-win-$(Platform )$(TargetExt)</PackageFileName >
76
+ <PackageFileName >$(OutputName )$(TargetExt)</PackageFileName >
81
77
<DefineConstants >$(DefineConstants);ProductName=$(ProductName)</DefineConstants >
82
78
83
79
<!-- Suppresses building this project completely during servicing builds. -->
You can’t perform that action at this time.
0 commit comments