-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HelpText.AutoBuild ignores word after last dot in AssemblyTitleAttribute #199
Comments
@eakoning, can you test it with 2.0. Changes to public API are easy even if you use it with multiple verb classes. The effort to maintain two branch is great for us, but if the problem persists in 2.0 I'll be glad to fix it. Thank you. |
Reproduced using latest beta release (2.0.275.0-beta). The code uses Path.GetFileNameWithoutExtension(titleAttribute.Title) [HeadingInfo.cs] which remove the last word. By default (when creating project in Visual Studio), the project extensions is not given in the assembly info. However, when checking several .net framework assembly and commandline dll, the .dll extension is specified in the assembly title.
|
Hi, @scadorel, as stated I've recently restored (my) support to the project. I ping you to tell I'll take care of this, for now. Giacomo |
👍 |
Still running into this with .NET Core 2.0. Optimally, the help text classes should be modified to better support .NET Core 2.0 defaults. |
I modified the |
I'm using CommandLine version 1.9.71.2
If i specify an
AssemblyTitleAttribute
with a dotted name (and I version my tool 1.10.1.* through the AssemblyVersionAttribute) in the project's AssemblyInfo.cs file, e.g.the Copyright and Heading properties on HelpText when using the AutoBuild show
my.favorite 1.10.1.27342
Changing the assembly title to
changes Copyright and Heading properties to
my.great.fantastic.favorite 1.10.1.27342
It always leaves out the word after the last dot.
When I leave out the
AssemblyTitleAttribute
all together, the HelpText falls back to the text specified in theAssemblyProductAttribute
and that seems to be working fine.The text was updated successfully, but these errors were encountered: