VSFolderMove : Move your Visual Studio persnnal folder

Visual Studio creates your personal folder in %userdata%/Documents which is surprising and anoying when you want to keep the Documents for documents… You may think that as a professionnal developer tool, there will be a simple setting for the personal folder, but you are wrong, and it is a real pain to change this folder.

Different possibilities are shown on internet forums :

  • give up
  • change registry settings (a lot)
  • use a ntfs junction to move files (do not solve the pollution in documents, but files will be in right place)

I choose the registry one, and decided to provide a small tool to help with : VSFolderMove

To ask Microsoft to add this setting, please vote for : https://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2312281-stop-polluting-my-documents-with-visual-studio-fol

Download

Binaries : VSFolderMove.zip (.Net Framework 3.5 needed, designed for Windows 7/8/8.1/10)

Source file : VSFolderMove-2015-08-16.zip (C# with WPF, Visual Studio 2013)

Screenshot

VSFolderMove Screenshot

Usage

Launch the executable file. If there are several installations of Visual Studio, you can choose which one in the combo box. The current personal folder path will be displayed. Select the destination path and click “Move” !

Please note that this tool moves the location in the registry, but does NOT move the files. You should :

  • backup you registry
  • close any Visual Studio instance
  • move your files in the new location before starting Visual Studio
  • if you have a message about vssettings, go to Tools / Options / Environment / “Import and Export Settings” and change the path to existing one
  • if you have further problems you can reset your profile with : %programfiles%Microsoft Visual Studio 10.0Common7IDEdevenv.exe“ /resetuserdata

Please note that Most Recent Used items are not updated.

This tool has been tested on my computer with Visual Studio 2013. It is design to work with other versions (2010, 2012, 2015), but this has not been tested so far. Thus it should not do much damages : in the worst case it can screw you Visual Studio user data, but you can restore it with devenv /resetuserdata.

Sources

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close Menu