Converting .NET Framework to .NET Core - UseShellExecute Has a Different Default Value

added by DotNetKicks
8/26/2019 3:08:49 PM

1 Kicks, 170 Views

I came across a difference between .NET Framework and .NET Core that caused a bit of frustration when I was converting a project. Process.StartInfo.UseShellExecute defaults to "true" in .NET Framework, but it defaults to "false" in .NET Core. If you have code using Process, this may come up when converting your projects over to .NET Core.


0 comments