Search code examples
c#.netvisual-studiomodel-view-controller

Not able to run .NET MVC app. I have MS Visual Studio 2022 installed. All I get is an error, "Please select a valid statup item"


enter image description here

Not able to run .NET MVC app. I have MS Visual Studio 2022 installed. All I get is an error, "Please select a valid statup item" when I click on the run button


Solution

  • Try to open the project with the sln file.

    File->Open->Project/Solution
    

    The above answer would also help.