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
Registration with dotnet-suggest requires UseShellExecute to be False on NetFx472 #1254
Comments
No need to submit a patch, as the respective code change (UseShellExecute = false) has been made in January :-) command-line-api/src/System.CommandLine/Invocation/Process.cs Lines 31 to 42 in 4e00994
|
Awesome. Is that after the https://www.nuget.org/packages/System.CommandLine/2.0.0-beta1.20574.7, which is the most recently published version available on NuGet.org? |
It is. The fix is available on the "daily" build feed and a new version will be published on nuget.org in the next day or two. |
Updated to 21216.1 and it works as expected. Thanks for pushing the updated package! |
Update the System.CommandLine package to 2.0.0-beta1.21216.1 to hopefully fix some problems with dotnet-suggest registration caused by Process::UseShellExecute differences between .NET Framework and .NET (Core). jonsequitur/command-line-api@ad22b69 dotnet/command-line-api#1254 git-ecosystem#505
Update the System.CommandLine package to 2.0.0-beta1.21216.1 to hopefully fix some problems with dotnet-suggest registration caused by Process::UseShellExecute differences between .NET Framework and .NET (Core). jonsequitur/command-line-api@ad22b69 dotnet/command-line-api#1254 git-ecosystem#505
Update the System.CommandLine package to 2.0.0-beta1.21216.1 to hopefully fix some problems with dotnet-suggest registration caused by Process::UseShellExecute differences between .NET Framework and .NET (Core). jonsequitur/command-line-api@ad22b69 dotnet/command-line-api#1254 git-ecosystem#505
Update the System.CommandLine package to 2.0.0-beta1.21216.1 to hopefully fix some problems with dotnet-suggest registration caused by Process::UseShellExecute differences between .NET Framework and .NET (Core). jonsequitur/command-line-api@ad22b69 dotnet/command-line-api#1254 git-ecosystem/git-credential-manager#505
Update the System.CommandLine package to 2.0.0-beta1.21216.1 to hopefully fix some problems with dotnet-suggest registration caused by Process::UseShellExecute differences between .NET Framework and .NET (Core). jonsequitur/command-line-api@ad22b69 dotnet/command-line-api#1254 git-ecosystem#505
Does dotnet-suggest support suggestions from applications built against the desktop framework?
I was spelunking why
dotnet-suggest list
wasn't showing my application as being registered, which lead me to the sentinel file in [IO.Path]::GetTempPath()\system-commandline-sentinel-files, where this exception was logged:This feels like it's probably framework/OS dependent, which is why I'm hesitant to just submit a patch to https://github.com/dotnet/command-line-api/blob/main/src/System.CommandLine/Builder/CommandLineBuilderExtensions.cs
The text was updated successfully, but these errors were encountered: