Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

visual studio startup projects dropdown not showing one of projects

Visual Studio startup projects dropdown not showing one of the projects.

DropDown image

The project is in the solution. In Solution Explorer, I can right click to the project and select "Set as StartUp Project".

I just want to see it in startup projects dropdown.

I am using Visual Studio Enterprise 2017. There are web projects and console projects in solution.

like image 435
emert117 Avatar asked Dec 13 '18 11:12

emert117


People also ask

How do I change the startup project in Visual Studio 2019?

Right click the project in the Solution window and then select Set As Startup Project.

How do I remove set as startup project in Visual Studio?

Select a project and right click, then select 'Remove from StartUp Projects...'


2 Answers

Old question, but looks like there is currently no fix to this issue and based on the questions found on VS Development Community this issue has been raised but closed as low priority.

https://developercommunity.visualstudio.com/t/startup-projects-list-in-the-toolbar-doesnt-show-a/280186

https://developercommunity.visualstudio.com/t/projects-missing-from-startup-project-dropdown/397420

In my case, startup dropdown seems to only show dotnet core projects and console projects (and randomly some library projects).

As @Keith has mentioned above a work around is to right-click desired project and set selected project as startup. That project will then be actively selected in the startup dropdown.

like image 157
Matt Fricker Avatar answered Oct 20 '22 11:10

Matt Fricker


An answer in this thread points to the SwitchStartupProject extension. It works well to show and start all projects in the solution and replaces the regular Startup Project drop-down.

like image 21
mottosson Avatar answered Oct 20 '22 10:10

mottosson