Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS 2010 - Import Export Settings

Everytime I open VS 2010 I get this:

The automatically saved settings file 'visual studio 2010\settings\CurrentSettings.vssettings' is not available for write. You can change this file on the 'Import and Export Settings' Tools Options page.

Great ok. I'll export what i've got out and move it to a new location, and then set that as the location to look for the settings file.

Step 1: Fail

Import and Export Settings Wizard > Export selected environment settings > next > next > Dialog dissappears with no information on any file being stored anywhere.

Step 2: Fail

Manually find old CurrentSettings.vssettings file. Copy to new location e.g. C:\VSSettings\CurrentSettings.vssettings

Tools > Options > Environment > Import and Export Settings > Automatically save my settings to this file:

Change location to C:\VSSettings\CurrentSettings.vssettings

The specified path for the auto-save settings file is invalid. Please enter a valid path.

Clicking on the browse button does nothing. Something has screwed up here, obviously because it couldn't get to the location where my settings WERE being stored.

Step 3: ? How to fix this up

I would prefer to not have to reset my settings because it IS loading some of them from soemwhere.

like image 854
baron Avatar asked Sep 02 '10 05:09

baron


2 Answers

This command will reset the settings if you're having trouble with the GUI. This will work going back to at least 2005--as long as you change the path accordingly, of course :)

"%programfiles%\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /resetuserdata

Also see: http://blogs.msdn.com/b/astebner/archive/2005/11/22/496098.aspx

like image 108
syvex Avatar answered Oct 15 '22 22:10

syvex


This worked for me: (in VS 2013)

1. Go to Tools > Options
2. Go to Environment > "Import and Export Settings" 
3. Change the path to existing one

Source blog.icsharp.net

like image 38
CSharper Avatar answered Oct 15 '22 22:10

CSharper