Skip to content

Commit 5bc7da4

Browse files
committed
Pass brand name instead of shared framework friendly name.
1 parent aae4930 commit 5bc7da4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Microsoft.DotNet.SharedFramework.Sdk/src/GenerateMacOSDistributionFile.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class GenerateMacOSDistributionFile : BuildTask
2121
public string TemplatePath { get; set; }
2222

2323
[Required]
24-
public string SharedFrameworkFriendlyName { get; set; }
24+
public string ProductBrandName { get; set; }
2525

2626
[Required]
2727
public string TargetArchitecture { get; set; }
@@ -38,7 +38,7 @@ public override bool Execute()
3838
{
3939
XDocument document = XDocument.Load(TemplatePath);
4040

41-
var titleElement = new XElement("title", $"{SharedFrameworkFriendlyName} ({TargetArchitecture})");
41+
var titleElement = new XElement("title", $"{ProductBrandName} ({TargetArchitecture})");
4242

4343
var choiceLineElements = BundledPackages.Select(component => new XElement("line", new XAttribute("choice", component.GetMetadata("FileNameWithExtension"))));
4444

src/Microsoft.DotNet.SharedFramework.Sdk/targets/bundle.targets

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

138138
<GenerateMacOSDistributionFile
139139
TemplatePath="$(MacOSBundleTemplate)"
140-
SharedFrameworkFriendlyName="$(SharedFrameworkFriendlyName)"
140+
ProductBrandName="$(ProductBrandName)"
141141
TargetArchitecture="$(TargetArchitecture)"
142142
BundledPackages="@(_MacOSPackagesToBundle)"
143143
DestinationFile="$(_MacOSDistributionFile)" />

src/Microsoft.DotNet.SharedFramework.Sdk/targets/installer.targets

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

389389
<Message Text="$(MSBuildProjectName) -> $(_InstallerFile)" Importance="high" />
390390
<ItemGroup>
391-
<_CreatedPkg Include="$(_InstallerFile)" Description="$(MacOSPackageDescription)" Title="$(SharedFrameworkFriendlyName) ($(TargetArchitecture))" />
391+
<_CreatedPkg Include="$(_InstallerFile)" Description="$(MacOSPackageDescription)" Title="$(ProductBrandName) ($(TargetArchitecture))" />
392392
</ItemGroup>
393393
</Target>
394394

0 commit comments

Comments
 (0)