Skip to content

Commit fcf1b51

Browse files
committed
Don't rename it
1 parent 1670598 commit fcf1b51

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

src/Installers/Windows/HostOptions/HostOptions.wixproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
<Project>
33
<Import Project="Sdk.props" Sdk="Microsoft.WixToolset.Sdk" />
44
<PropertyGroup>
5-
<Name>$(HostOptionsName)</Name>
6-
<OutputName>$(HostOptionsName)</OutputName>
75
<OutputType>Package</OutputType>
86
<ProductNameFolder>Microsoft ASP.NET Core Hosting Bundle Options</ProductNameFolder>
9-
<ProductNameShort>AspNetCore.HostOptions</ProductNameShort>
7+
<ProductNameShort>$(HostOptionsNameProductNameShort)</ProductNameShort>
108
<Platform>x86</Platform>
119
<ProjectGuid>20248cd1-c5aa-4f42-ad88-bc260d64deea</ProjectGuid>
1210
<IsShipping>true</IsShipping>
@@ -23,6 +21,8 @@
2321

2422
<PropertyGroup>
2523
<PackageFileName>dotnet-hosting-options-$(PackageVersion)-win$(TargetExt)</PackageFileName>
24+
<Name>$(PackageFileName)</Name>
25+
<OutputName>$(PackageFileName)</OutputName>
2626
<ProductName>Microsoft ASP.NET Core $(PackageBrandingVersion) Hosting Bundle Options</ProductName>
2727
<DefineConstants>$(DefineConstants);ProductName=$(ProductName)</DefineConstants>
2828
</PropertyGroup>

src/Installers/Windows/WindowsHostingBundle/WindowsHostingBundle.wixproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
<Project>
33
<Import Project="Sdk.props" Sdk="Microsoft.WixToolset.Sdk" />
44
<PropertyGroup>
5-
<Name>WindowsServerHostingBundle</Name>
6-
<OutputName>WindowsServerHostingBundle</OutputName>
75
<IsShipping>true</IsShipping>
86
<ProjectGuid>6F1B115C-1903-40CB-837D-7961AB610F4E</ProjectGuid>
97
<OutputType>Bundle</OutputType>
@@ -93,6 +91,8 @@
9391

9492
<PropertyGroup>
9593
<PackageFileName>dotnet-hosting-$(PackageVersion)-win$(TargetExt)</PackageFileName>
94+
<Name>$(PackageFileName)</Name>
95+
<OutputName>$(PackageFileName)</OutputName>
9696

9797
<BundleNameShort>Microsoft .NET $(PackageBrandingVersion)</BundleNameShort>
9898
<SharedFxPackageVersion>$(PackageVersion)</SharedFxPackageVersion>

src/Installers/Windows/Wix.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
<PropertyGroup>
1919
<DefineSolutionProperties>false</DefineSolutionProperties>
20-
<HostOptionsName>WindowsServerHostingBundleOptions</HostOptionsName>
20+
<HostOptionsNameProductNameShort>AspNetCore.HostOptions</HostOptionsNameProductNameShort>
2121

2222
<!-- Namespace used to generate stable UUID3 GUIDs for MSI ProductCode, etc. DO NOT CHANGE THESE. -->
2323
<HostingBundleNamespaceGuid>E1FD1271-E0F0-4B8B-B4BE-01F2EBA58F4E</HostingBundleNamespaceGuid>

src/Installers/Windows/Wix.targets

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@
4848
<Target Name="GenerateGUIDs" BeforeTargets="BeforeBuild" DependsOnTargets="_GeneratePackageGuids;_GenerateBundleGuids" Condition=" '$(DisableGuidGeneration)' != 'true' " />
4949

5050
<Target Name="_GeneratePackageGuids" Condition="'$(OutputType)' == 'package'">
51-
<GenerateGuid Condition="'$(OutputName)' != '$(HostOptionsName)'" NamespaceGuid="$(NamespaceGuid)" Values="$(ProductNameShort);$(GuidInputs)">
51+
<GenerateGuid Condition="'$(ProductNameShort)' != '$(HostOptionsNameProductNameShort)'" NamespaceGuid="$(NamespaceGuid)" Values="$(ProductNameShort);$(GuidInputs)">
5252
<Output TaskParameter="Guid" PropertyName="ProductCode" />
5353
</GenerateGuid>
54-
<GenerateGuid Condition="'$(OutputName)' != '$(HostOptionsName)'" NamespaceGuid="$(NamespaceGuid)" Values="$(ProductNameShort);$(GuidInputs);$(OutputType)">
54+
<GenerateGuid Condition="'$(ProductNameShort)' != '$(HostOptionsNameProductNameShort)'" NamespaceGuid="$(NamespaceGuid)" Values="$(ProductNameShort);$(GuidInputs);$(OutputType)">
5555
<Output TaskParameter="Guid" PropertyName="UpgradeCode" />
5656
</GenerateGuid>
5757

58-
<GenerateGuid Condition="'$(OutputName)' == '$(HostOptionsName)'" NamespaceGuid="$(NamespaceGuid)" Values="$(ProductNameShort);$(Version)">
58+
<GenerateGuid Condition="'$(ProductNameShort)' == '$(HostOptionsNameProductNameShort)'" NamespaceGuid="$(NamespaceGuid)" Values="$(ProductNameShort);$(Version)">
5959
<Output TaskParameter="Guid" PropertyName="ProductCode" />
6060
</GenerateGuid>
61-
<GenerateGuid Condition="'$(OutputName)' == '$(HostOptionsName)'" NamespaceGuid="$(NamespaceGuid)" Values="$(ProductNameShort);$(AspNetCoreMajorMinorVersion);$(OutputType)">
61+
<GenerateGuid Condition="'$(ProductNameShort)' == '$(HostOptionsNameProductNameShort)'" NamespaceGuid="$(NamespaceGuid)" Values="$(ProductNameShort);$(AspNetCoreMajorMinorVersion);$(OutputType)">
6262
<Output TaskParameter="Guid" PropertyName="UpgradeCode" />
6363
</GenerateGuid>
6464

0 commit comments

Comments
 (0)