Skip to content
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

Process.Start will System.ExecutionEngineException:“Exception_WasThrown” in VS debug. #92046

Closed
Coloryr opened this issue Sep 14, 2023 · 3 comments

Comments

@Coloryr
Copy link

Coloryr commented Sep 14, 2023

When use Visual Studio start debug code, and use

Process.Start("explorer");

was crash
image

But if not use VS debug, that work.

image
image

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Sep 14, 2023
@ghost
Copy link

ghost commented Sep 14, 2023

Tagging subscribers to this area: @dotnet/area-system-reflection-emit
See info in area-owners.md if you want to be subscribed.

Issue Details

When use Visual Studio start debug code, and use

Process.Start("explorer");

was crash
image

But if publish, and not use VS debug, that work.

image
image

Author: Coloryr
Assignees: -
Labels:

area-System.Reflection.Emit

Milestone: -

@ghost
Copy link

ghost commented Sep 14, 2023

Tagging subscribers to this area: @dotnet/area-system-diagnostics-process
See info in area-owners.md if you want to be subscribed.

Issue Details

When use Visual Studio start debug code, and use

Process.Start("explorer");

was crash
image

But if not use VS debug, that work.

image
image

Author: Coloryr
Assignees: -
Labels:

area-System.Diagnostics.Process, untriaged

Milestone: -

@jkotas
Copy link
Member

jkotas commented Sep 14, 2023

Thank you for reporting this issue. This was fixed by #90826. The fix is included in .NET 8 RC2.

@jkotas jkotas closed this as completed Sep 14, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Sep 14, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants