Skip to content

Commit c65688f

Browse files
committed
Reapply #24468.
1 parent d13a547 commit c65688f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotnet/targets/Microsoft.Sdk.Desktop.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
<_OpenArgumentsPre Condition="'$(OpenWaitForExit)' == 'true'">$(_OpenArgumentsPre) -W </_OpenArgumentsPre>
1818
<_OpenArguments>$(_OpenArguments) $(RunEnvironment)</_OpenArguments>
1919
<RunCommand>open</RunCommand>
20-
<RunArguments>$(_OpenArgumentsPre) -a "$(TargetDir)/$(AssemblyName).app" $(OpenArguments) $(_OpenArguments) --args</RunArguments>
20+
<RunArguments>$(_OpenArgumentsPre) -a "$(TargetDir)/$(_AppBundleName).app" $(OpenArguments) $(_OpenArguments) --args</RunArguments>
2121
</PropertyGroup>
2222

2323
<PropertyGroup Condition="'$(RunWithOpen)' == 'false'">
24-
<RunCommand>$(TargetDir)/$(AssemblyName).app/Contents/MacOS/$(AssemblyName)</RunCommand>
24+
<RunCommand>$(TargetDir)/$(_AppBundleName).app/Contents/MacOS/$(_NativeExecutableName)</RunCommand>
2525
<RunArguments />
2626
</PropertyGroup>
2727
</Target>

0 commit comments

Comments
 (0)