Skip to content

fix: hide cmd.exe window when invoking CLI programmatically - #2623

Merged
Max Schmitt (mxschmitt) merged 1 commit into
mainfrom
hide-cli-window-wpf
Jun 26, 2023
Merged

fix: hide cmd.exe window when invoking CLI programmatically#2623
Max Schmitt (mxschmitt) merged 1 commit into
mainfrom
hide-cli-window-wpf

Conversation

@mxschmitt

@mxschmitt Max Schmitt (mxschmitt) commented Jun 25, 2023

Copy link
Copy Markdown
Contributor

After net8.0-preview4 dotnet/runtime#82662 got landed upstream, which adds support for WindowStyle when Shell=false (default). This fixes the customer reported issue for us. It should not regress any behaviour for previous .NET users, so we can always set this flag when the CLI gets invoked.

Note: This does not require us to change any TFM. Only the customers need to use net8-preview4+. (which is LTS in November this year).

Appreciate the work David Cantú (@jozkee) and cc Jakub Jareš (@nohwnd).

Fixes #2462
Relates #2489
Closes dotnet/runtime#68259 (comment) (not needed anymore).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants