How to disable the start page after closing the solution in Visual Studio 2017

In Visual Studio 2017, you can choose Tools> Options> Environment> Startup> At Startup: show an empty environment. This prevents the start page from being displayed when starting Visual Studio, and in previous versions it prevented the start page from appearing when the solution was closed.

In Visual Studio 2017, it seems that the designers decided to show the start page after closing the solution, even if the option was for an empty environment at startup.

Are there any creative ways around this until the Visual Studio team decides to provide a reasonable option?

+12
visual-studio-2017
Mar 09 '17 at 17:35
source share
4 answers

I ran into this, run into the same. Here's a potential work from the page developer community from Oleg Saveliev and Bill Menes answers. Try again later by adding this page to Praveen Seturaman.

In this case, a workaround that you can use to turn off the start page is to reopen after closing the solution.

The following steps are listed below:

1. Close all instances of VS and Run Regedit

2. Select HKEY_LOCAL_MACHINE

3.File β†’ Load Hive ...

4.Open% LOCALAPPDATA% \ Microsoft \ VisualStudio \ 15.0_ \ privateregistry.bin

5. Enter a name like "MyVSHive"

6.Find in HKEY_LOCAL_MACHINE \ MyVSHive \ Software \ Microsoft \ VisualStudio \ 15.0_ \ StartPage

7. Create a new dword with a non-zero value:

"DisableOpenOnCloseSolution" = DWORD: 00000001

8. Select "MyVSHive" and then go to "File-> Unload Hive" ...

9.Restart VS

Now, when you close the solution, the start page will not open automatically.

Note that resetting this will cause this parameter to be reset, and you will have to complete these steps again.

Thank,

Pravein [MSFT]

Worked for me. Copying in case this helps someone else.

+12
Jun 16 '17 at 21:08
source share

I didn’t like this behavior so much that I added the "Auto close start page" option for the free Menees VS Tools 2017 extension for VS 2017. The default value is false (because I did not want to change the default behavior of VS for everyone using my extension), but I set it to true manually in all VS installations.

I and others discussed this with Andrew Arnott of Microsoft at the MS Developer Community , but he didn't seem to care much. MS telemetry data says that those of us who do not want to see the Start Page are in the minority, so MS is just going to impose this on us now. :-(

+2
May 24 '17 at 1:36 pm
source share

Fixed in Visual Studio 2017 v.15.5, December 4, 2017:

https://www.visualstudio.com/en-us/news/releasenotes/vs2017-relnotes https://developercommunity.visualstudio.com/content/problem/20817/disabled-startpage-is-opened-when-project-is -close.html

Thank you for your feedback! We fixed this problem and it is available in Visual Studio 15.5.

It’s great that Microsoft was listening to the request in the developer community, but I think that supplicants missed the point:

The problem is not the 4 seconds it takes to close an additional window, it is a gap in the concentration of the programmer when he looks and resists an unnecessary bait link.

+1
Dec 28 '17 at 2:44 on
source share



All Articles