Open gilgmesh opened 7 years ago
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
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/
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.
where is the information stored locally? so that I may move it to another computer, to restore there? thanks