File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 25
25
<DefineConstants Condition =" '$(Configuration)' == 'Debug'" >$(DefineConstants);Debug</DefineConstants >
26
26
<DefineConstants >$(DefineConstants);EmbedCab=$(EmbedCab)</DefineConstants >
27
27
<DefineConstants >$(DefineConstants);Cabinet=$(Cabinet)</DefineConstants >
28
+
29
+ <!-- Set package version for SharedFx & TargetingPack wixproj's -->
30
+ <!-- Everything built in those projects _except_ the final package & MSI are shipping assets. -->
31
+ <_GeneratedPackageVersion >$(PackageVersion)</_GeneratedPackageVersion >
32
+ <_GeneratedPackageVersion
33
+ Condition =" ! $(PackageVersion.Contains('$(_PreReleaseLabel)'))" >$(PackageVersion)-$(_PreReleaseLabel)$(_BuildNumberLabels)</_GeneratedPackageVersion >
34
+ <!-- Insert PackageVersion into OutputName for SharedFx & TargetingPack -->
35
+ <OutputName Condition =" '$(OutputNamePrefix)' != '' AND '$(OutputNameSuffix)' != ''" >$(OutputNamePrefix)$(_GeneratedPackageVersion)$(OutputNameSuffix)$(TargetExt)</OutputName >
28
36
</PropertyGroup >
29
37
30
38
<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 >$(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)</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 >
8
+ <ProductName >Microsoft ASP.NET Core $(PackageBrandingVersion) Targeting Pack ($(Platform))</ProductName >
6
9
<ProductNameFolder >Microsoft ASP.NET Core Targeting Pack</ProductNameFolder >
7
10
<ProductNameShort >AspNetCore.TargetingPack</ProductNameShort >
8
- <Name >AspNetCoreTargetingPack</Name >
9
- <OutputName >$(Name)-$(Platform)</OutputName >
10
11
<OutputType >Package</OutputType >
11
12
<IsShipping >true</IsShipping >
12
13
<SkipCopyToArtifactsDirectory Condition =" '$(IsTargetingPackBuilding)' == 'false'" >true</SkipCopyToArtifactsDirectory >
70
71
<Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
71
72
72
73
<PropertyGroup >
73
- <!-- Everything built in this project _except_ the final package are shipping assets. -->
74
- <_GeneratedPackageVersion >$(PackageVersion)</_GeneratedPackageVersion >
75
- <_GeneratedPackageVersion
76
- Condition =" ! $(PackageVersion.Contains('$(_PreReleaseLabel)'))" >$(PackageVersion)-$(_PreReleaseLabel)$(_BuildNumberLabels)</_GeneratedPackageVersion >
77
- <ProductName >Microsoft ASP.NET Core $(PackageBrandingVersion) Targeting Pack ($(Platform))</ProductName >
78
- <PackageFileName >$(TargetingPackInstallerBaseName)-$(_GeneratedPackageVersion)-win-$(Platform)$(TargetExt)</PackageFileName >
74
+ <PackageFileName >$(OutputName)</PackageFileName >
79
75
<DefineConstants >$(DefineConstants);ProductName=$(ProductName)</DefineConstants >
80
76
81
77
<!-- Suppresses building this project completely during servicing builds. -->
You can’t perform that action at this time.
0 commit comments