locked
Preventing web page from being opened after publish. RRS feed

  • Question

  • User-1796506859 posted

    Hi folks,

    I posted this in the MSDN forums and it was suggested I post here as well:-

    Using VS2013.2 and Web Deploy 3.5, every time I publish a web site, it opens the browser and tries to display the site.  The web site is not accessible from the development machine so I have to wait for the web browser to fail which is rather annoying.

    Is there a flag I can set somewhere to tell Visual Studio not to try and open the web browser after the publish has succeeded?

    Regards

    Andy

    Monday, May 19, 2014 10:04 PM

Answers

  • User-1454326058 posted

    Hi AndyW2009,

    In the publish profile (XX.pubxml), we can find this code below:

    <LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>

    So, please change it to False.

    Thanks

    Best Regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, May 20, 2014 10:02 PM