We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 490d3d6 + c7e1e57 commit a97710fCopy full SHA for a97710f
src/CommandLine/Text/HeadingInfo.cs
@@ -57,14 +57,7 @@ public static HeadingInfo Default
57
{
58
var title = ReflectionHelper.GetAttribute<AssemblyTitleAttribute>()
59
.MapValueOrDefault(
60
- titleAttribute =>
61
- {
62
- if (titleAttribute.Title.ToLowerInvariant().EndsWith(".dll"))
63
64
- return titleAttribute.Title.Substring(0, titleAttribute.Title.Length - ".dll".Length);
65
- }
66
- return titleAttribute.Title;
67
- },
+ titleAttribute => titleAttribute.Title,
68
ReflectionHelper.GetAssemblyName());
69
70
var version = ReflectionHelper.GetAttribute<AssemblyInformationalVersionAttribute>()
0 commit comments