File tree 3 files changed +11
-11
lines changed
3 files changed +11
-11
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 >
24
32
25
33
<DefineConstants Condition =" '$(Configuration)' == 'Debug'" >$(DefineConstants);Debug</DefineConstants >
26
34
<DefineConstants >$(DefineConstants);EmbedCab=$(EmbedCab)</DefineConstants >
27
35
<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 >
36
36
</PropertyGroup >
37
37
38
38
<PropertyGroup >
Original file line number Diff line number Diff line change 80
80
<Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
81
81
82
82
<PropertyGroup >
83
- <PackageFileName >$(OutputName)</PackageFileName >
83
+ <PackageFileName >$(OutputName)$(TargetExt) </PackageFileName >
84
84
<ProductName >Microsoft ASP.NET Core $(PackageBrandingVersion) Shared Framework ($(Platform))</ProductName >
85
85
<DefineConstants >$(DefineConstants);ProductName=$(ProductName)</DefineConstants >
86
86
</PropertyGroup >
Original file line number Diff line number Diff line change 5
5
<PropertyGroup >
6
6
<OutputNamePrefix >$(TargetingPackInstallerBaseName)-</OutputNamePrefix >
7
7
<OutputNameSuffix >-win-$(Platform)</OutputNameSuffix >
8
- <ProductName >Microsoft ASP.NET Core $(PackageBrandingVersion) Targeting Pack ($(Platform))</ProductName >
9
8
<ProductNameFolder >Microsoft ASP.NET Core Targeting Pack</ProductNameFolder >
10
9
<ProductNameShort >AspNetCore.TargetingPack</ProductNameShort >
11
10
<OutputType >Package</OutputType >
71
70
<Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
72
71
73
72
<PropertyGroup >
74
- <PackageFileName >$(OutputName)</PackageFileName >
73
+ <ProductName >Microsoft ASP.NET Core $(PackageBrandingVersion) Targeting Pack ($(Platform))</ProductName >
74
+ <PackageFileName >$(OutputName)$(TargetExt)</PackageFileName >
75
75
<DefineConstants >$(DefineConstants);ProductName=$(ProductName)</DefineConstants >
76
76
77
77
<!-- Suppresses building this project completely during servicing builds. -->
You can’t perform that action at this time.
0 commit comments