File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
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 >
2432
2533 <DefineConstants Condition =" '$(Configuration)' == 'Debug'" >$(DefineConstants);Debug</DefineConstants >
2634 <DefineConstants >$(DefineConstants);EmbedCab=$(EmbedCab)</DefineConstants >
2735 <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 >
3636 </PropertyGroup >
3737
3838 <PropertyGroup >
Original file line number Diff line number Diff line change 8080 <Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
8181
8282 <PropertyGroup >
83- <PackageFileName >$(OutputName)</PackageFileName >
83+ <PackageFileName >$(OutputName)$(TargetExt) </PackageFileName >
8484 <ProductName >Microsoft ASP.NET Core $(PackageBrandingVersion) Shared Framework ($(Platform))</ProductName >
8585 <DefineConstants >$(DefineConstants);ProductName=$(ProductName)</DefineConstants >
8686 </PropertyGroup >
Original file line number Diff line number Diff line change 55 <PropertyGroup >
66 <OutputNamePrefix >$(TargetingPackInstallerBaseName)-</OutputNamePrefix >
77 <OutputNameSuffix >-win-$(Platform)</OutputNameSuffix >
8- <ProductName >Microsoft ASP.NET Core $(PackageBrandingVersion) Targeting Pack ($(Platform))</ProductName >
98 <ProductNameFolder >Microsoft ASP.NET Core Targeting Pack</ProductNameFolder >
109 <ProductNameShort >AspNetCore.TargetingPack</ProductNameShort >
1110 <OutputType >Package</OutputType >
7170 <Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
7271
7372 <PropertyGroup >
74- <PackageFileName >$(OutputName)</PackageFileName >
73+ <ProductName >Microsoft ASP.NET Core $(PackageBrandingVersion) Targeting Pack ($(Platform))</ProductName >
74+ <PackageFileName >$(OutputName)$(TargetExt)</PackageFileName >
7575 <DefineConstants >$(DefineConstants);ProductName=$(ProductName)</DefineConstants >
7676
7777 <!-- Suppresses building this project completely during servicing builds. -->
You can’t perform that action at this time.
0 commit comments