Search code examples
visual-studioasp.net-core-mvciis-express

In the select startup item in VS, IIS Express option is absent instead "current document <documentname>" is present. Unable to build project


IISExpress option was present when I created .net core mvc web app. But on reopening the project, the startup item has "current document " option (along with 2 other individual files).

The application is entering break mode when selecting any of them.

enter image description here


Solution

  • I resolved the above problem by opening the .sln file inside my project directory for reopening my .net projects. It launches the project in vs code.