Base solution for your next web application
Open Closed

Why MyCompany.MyProject.Web.Host not SetAsStartUp default? #4671


User avatar
0
manojreddy created

Why is MyCompany.MyProject.Web.Host not set as SetAsStartUp by default when we download the project. Is there any reason behind it? because Every time we download we need to set it.


1 Answer(s)
  • User Avatar
    0
    alirizaadiyahsi created

    Hi @ManojReddy, the setting will be stored into the ".SUO" file that is ignored for github. Because this file is user specific. There is no setting in ".SLN" file for startup project.

    However, If there is no suo file or by defaulty, IDE use the first project defined in SLN file as the startup project. So there is no reason behind it.

    I created an issue for this: <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/813">https://github.com/aspnetzero/aspnet-ze ... issues/813</a>