Search code examples
c#.netvisual-studio-2022

No HTTP run button (cant run on browser) : Microsoft Visual Studio Community 2022


I'm novice in terms of using Microsoft Visual Studio Community edition. When I first created my webapi app (yesterday) in the run button (pointed at the pic), it says that I can run the http. But, today when Im planning to continue exploring it, there is no http(s) as one of the selection. Now my concern is how to make it appear again? I can build the app, but I cant run it into the browser.

Feel free to humiliate me :D haha. Thank you for those who will response!

enter image description here


Solution

  • Yay. Thanks for those who comments. It did trigger an idea to compare the new created project with the old one :D with some ticking I made it work. Thank you.

    1. How did I open the project file, by clicking rigth+click:

    enter image description here

    1. Click the switch

    enter image description here

    1. Click the solution file .sln

    enter image description here

    1. Working!

    enter image description here