File tree Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1818 </ItemDefinitionGroup >
1919
2020 <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+
2129 <EmbedCab Condition =" '$(EmbedCab)' == ''" >yes</EmbedCab >
2230 <Cabinet Condition =" '$(Cabinet)' == ''" >$(OutputName.Replace('-', '_')).cab</Cabinet >
2331 <InstallDir >$(ProductName)</InstallDir >
Original file line number Diff line number Diff line change 33 <Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
44
55 <PropertyGroup >
6+ <OutputNamePrefix >$(RuntimeInstallerBaseName)-</OutputNamePrefix >
7+ <OutputNameSuffix >-win-$(Platform)</OutputNameSuffix >
68 <ProductNameFolder >Microsoft ASP.NET Core Shared Framework</ProductNameFolder >
79 <ProductNameShort >AspNetCore.SharedFramework</ProductNameShort >
8- <Name >AspNetCoreSharedFramework</Name >
9- <OutputName >$(Name)-$(Platform)</OutputName >
1010 <OutputType >Package</OutputType >
1111 <EmbedCab >yes</EmbedCab >
1212 <Cabinet >sfx_$(Platform).cab</Cabinet >
8080 <Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
8181
8282 <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 >
8884 <ProductName >Microsoft ASP.NET Core $(PackageBrandingVersion) Shared Framework ($(Platform))</ProductName >
8985 <DefineConstants >$(DefineConstants);ProductName=$(ProductName)</DefineConstants >
9086 </PropertyGroup >
Original file line number Diff line number Diff line change 33 <Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
44
55 <PropertyGroup >
6+ <OutputNamePrefix >$(TargetingPackInstallerBaseName)-</OutputNamePrefix >
7+ <OutputNameSuffix >-win-$(Platform)</OutputNameSuffix >
68 <ProductNameFolder >Microsoft ASP.NET Core Targeting Pack</ProductNameFolder >
79 <ProductNameShort >AspNetCore.TargetingPack</ProductNameShort >
8- <Name >AspNetCoreTargetingPack</Name >
9- <OutputName >$(Name)-$(Platform)</OutputName >
1010 <OutputType >Package</OutputType >
1111 <IsShipping >true</IsShipping >
1212 <SkipCopyToArtifactsDirectory Condition =" '$(IsTargetingPackBuilding)' == 'false'" >true</SkipCopyToArtifactsDirectory >
7272 <Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
7373
7474 <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 >
7975 <ProductName >Microsoft ASP.NET Core $(PackageBrandingVersion) Targeting Pack ($(Platform))</ProductName >
80- <PackageFileName >$(TargetingPackInstallerBaseName)-$(_GeneratedPackageVersion)-win-$(Platform )$(TargetExt)</PackageFileName >
76+ <PackageFileName >$(OutputName )$(TargetExt)</PackageFileName >
8177 <DefineConstants >$(DefineConstants);ProductName=$(ProductName)</DefineConstants >
8278
8379 <!-- Suppresses building this project completely during servicing builds. -->
You can’t perform that action at this time.
0 commit comments