Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to save/restore across different machines? #14

Open
gilgmesh opened this issue Mar 20, 2017 · 3 comments
Open

how to save/restore across different machines? #14

gilgmesh opened this issue Mar 20, 2017 · 3 comments
Labels

Comments

@gilgmesh
Copy link

where is the information stored locally? so that I may move it to another computer, to restore there?
thanks

@vitidev
Copy link

vitidev commented Mar 25, 2017

var settingsMgr = new ShellSettingsManager(ServiceProvider); var store = settingsMgr.GetReadOnlySettingsStore(SettingsScope.UserSettings);

where is the directory with settings? - I don't know. The article (https://msdn.microsoft.com/en-us/library/ff460144.aspx) says:

Visual Studio keeps the settings store in the system registry.
To use a registry editor to verify configuration settings
Open Regedit.exe.
Navigate to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0Exp_Config\InstalledProducts.

But I cannot find HKEY_CURRENT_USER\Software\Microsoft\VisualStudio*Exp_Config for VS2017

But it is possible to make fork, modify 2 methods and extension will be save settings in solution direcotory

@sbenedict
Copy link

VS2017 registry settings are no longer stored in system registry. You must load them from the privateregistry.bin file to access them. For detailed instructions see https://blog.agchapman.com/updating-registry-settings-for-visual-studio-2017/

@PiotrKarczmarz
Copy link

If you want to have ability to export snapshots to other machines/environments I recommend trying ContextKeeper (I'm the author) which stores all information in a plain JSON files. One file per context and designed to be source control friendly. The .suo file is not used at all. It saves all information that SaveAllTheTabs was able to store.

ContextKeeper currently uses absolute paths but it will quickly support relative paths by default in snapshots. This change will unlock using snapshots on different machines and even sharing them with your teammates.

Also support for VS 2022 Preview is upcoming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants