Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Please select a valid startup item

I have migrated from Visual Studio 2008 to VS 2017.

I am getting this error when I try to run project with the green play button:

enter image description here

Obviously I have to select a valid startup item, but there are two pieces of information I need to do that:

  1. what are typical valid startup items that I can try to select?

  2. How do I select them?

I am a long time developer, but I am new to visual studio so please give me instructions based on terminology I can see on the screen.

like image 685
Be Kind To New Users Avatar asked Dec 03 '17 20:12

Be Kind To New Users


People also ask

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

1) Double-click on My Project under the project in Solution Explorer. 2) Click the Application tab. 3) Set the Startup form.

How do I change the startup project in Visual Studio?

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


2 Answers

It might be the case that you have opened your project using

File->Open->Folder 

Use the right method to open your project using

File->Open->Project/Solution 

or

File->Open->Website 
like image 101
Milind Bankar Avatar answered Sep 20 '22 18:09

Milind Bankar


File > New > Project From existing code. Select type of project > Next. Enter project name > Finish.

like image 30
Alain Avatar answered Sep 16 '22 18:09

Alain