Visual Studio settings

Peter Volz 1,295 Reputation points
2024-02-23T06:39:41.5866667+00:00

Hello,

VS settings > General > On Startup : Empty Env

Is this setting saved in registry? Need a .bat file to apply this so any idea if I can use command prompt to change this to Empty Env?

Thanks.

zz

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,686 Reputation points Microsoft External Staff
    2024-02-23T10:53:13.3933333+00:00

    Hello @Peter Volz ,

    Welcome to Microsoft Q&A forum.

    Here are some clues:

    The OnStartUp property is one of the VS settings saved in the C:\Users\username\AppData\Local\Microsoft\VisualStudio\17.0_XXXXXXXX\Setting\CurrentSettings.vssettings file.

    You can find this property by opening the CurrentSettings.vssettings file with Notepad and search for OnStartUp key word. The values are usually 1(Start window)/2(Most recent solution)/3(Empty environment).

    Changing its value may be easy, but VS may not refresh and import the settings from the .vssettings file immediately.

    Besides, this setting can be exported(or imported) almost separately from Tools > Import and Export Settings… > Export selected environment settings > All Settings > Options > Environment > #13216(for VS 2019, it should be Startup).

    Best Regards,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.