Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New SDK project missing "Start External Command" in visual studio

Old .NET Projects have an option under debug that allows "Start External Command" as shown in this figure

enter image description here

When I create a new project using the new SDK style, I can't see the same option (as the figure below). Is there a way to get it back?

  • Both pictures were taken from the same VS (so it is not version specific)
  • A workaround that I found is running the program normally and attach to it but it is not convenient.

enter image description here

like image 909
Mostafa abdo Avatar asked Dec 06 '25 06:12

Mostafa abdo


1 Answers

In the Launch Profiles window, you have a "new profile" icon in the top left hand corner. If you click that, a menu opens and lets you choose either a Project or an Executable File. If you choose the later, you get the option back for which you were looking.

The "new start profile" menu

To use the new setting, select the relevant project as startup project (either in the solution explorer or by using the small arow to the right of the project list in the toolbar). Then use the profile drop-down to select the relevant profile.

Using the profiles

The dropdown with the red arrow lets you select the startup project, the dropdown with the blue arrow the startup profile (for that project).

like image 91
PMF Avatar answered Dec 08 '25 19:12

PMF