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