See:
|
var currentProcessFileNameWithoutExtension = Path.GetFileNameWithoutExtension(currentProcessFullPath); |
When building a Linux executable with full assembly name as output file, this removes the last part of the final executable name.
For example, if the executable output is named "Full.Assembly.Name.Linux.Executable", then RegisterWithDotnetSuggest() registers "Full.Assembly.Name.Linux" and completions won't work.
See:
command-line-api/src/System.CommandLine/Builder/CommandLineBuilderExtensions.cs
Line 179 in 209b724
When building a Linux executable with full assembly name as output file, this removes the last part of the final executable name.
For example, if the executable output is named "Full.Assembly.Name.Linux.Executable", then
RegisterWithDotnetSuggest()registers "Full.Assembly.Name.Linux" and completions won't work.