I suggest you ...

Stop polluting My Documents with Visual Studio folders

Visual Studio creates a new folder in My Documents with every version. Over time, if the user requires many different versions of Visual Studio installed, this pollutes the folder. My Documents is supposed to be where I keep, well, my documents.

This even goes again Microsoft's own software design guidelines, if I remember them right.

Most of the subfolders should be moved to the existing AppData Visual Studio folder. The Projects subfolder has no reason to exist, since you might as well default the My Documents folder when creating new projects (the user can obviouly change this at the time, it's just a default location, as with any other app.)

444 votes
Sign in
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Andrew McDonaldAndrew McDonald shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →


    We’ve begun work on this and are considering changing the default location for new projects to C:\\USERPROFILE\Source\repos. Would this be a reasonable change to address the problem of “clutter” in the Documents folder? This is currently the default for cloned repositories, so all projects would be in a singular default location.

    As well, you still retain the option to change the default if you’d like.

    Allison Buchholtz-Au
    Program Manager – VS IDE


    Sign in
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      • Erik UšajErik Ušaj commented  ·   ·  Flag as inappropriate

        Hi Allison, hi Mark,

        Make sure that setup has an option to define the global folder for VS projects.
        Developer customers should be able to select appropriate global folder for their needs:
        - default (as recomanded by Microsoft, best practices, GPOs, available space, etc.)
        - custom (anything that makes sense to developer; for example external drive on systems with limited primary drive space / limited space on User folders)

        On top of that setup should include steps to define personal and company version control system (git, svn, mercurial, ...) and project locations should be separated for company vs. personal projects. For example my current company requires all personal files are stored in a "\personal" folder on any drive. Company does not have rights to access that folder.

        Setting up a meeting with Windows / Windows Server PMs responsable for Folder Recirection features and associated GPO settings might be also a good idea.
        ( see & read: https://technet.microsoft.com/en-us/library/cc732275(v=ws.11).aspx )
        Discuss possible issued customer can face with poorly congigured GPOs, space limitations on a typical Office knowledge worker space allocation size, etc.

        Best Regards,

      • Michael RichardsonMichael Richardson commented  ·   ·  Flag as inappropriate

        Allison, I have little opinion about the default because it will only matter to those who don't have their own system (mine is "c:\prj\[client]\[project]" and those people won't have much reason for an opinion. What I do care about is easily being able to select my own choice and it be anywhere I want (allow for junctions for example).

      • Patrick WesterhoffPatrick Westerhoff commented  ·   ·  Flag as inappropriate

        I don’t think that the issue is generally with *project* files. I personally like to have my projects inside ~\Documents (although I put them into ~\Documents\Projects).

        I think the issue is more with the other folders that are created, e.g. ArchitectureExplorer, Code Snippets, Settings, Templates, etc. Most of those folders are completely empty! Ignoring the Projects folders, I currently have 2 files and 44 folders spread inside the Visual Studio 2017 folder. That’s ridiculous and mostly unneeded: Those folders should only be created when there’s actually content placed within them.

        And it’s even worse if you have multiple versions of Visual Studio installed. I used to have folders for three versions, all without much in them apart from the projects—which are additionally too spread for things that are not really version dependent after all.

        So generally, project sources might be placed into ~\Documents\, ~\Source (if you insist, although I really dislike that place since the Windows HOME isn’t like a Unix HOME, so stuff there feels a bit wrong to me), or even ~\Documents\Visual Studio projects (to make up something completely new here, which would be version independent too).

        And all those settings and configurations and presets should be stored in %APPDATA%, like sane Windows applications do. Ideally, you should provide a way to back up those settings from within Visual Studio, so you can carry them over to a different machine easily. But those don’t belong into a prominent document location.

      • TheLievenseTheLievense commented  ·   ·  Flag as inappropriate


        That's not enough unless that location is also the location for the following folders which VS clutters My Documents with:

        Architecture Explorer
        Backup Files
        Code Snippets
        Start Pages

        And the bigger issue is that none of those folders should be created (regardless of the default location) until the developer does something that needs to be saved to those folders. For a significant portion of developers those folders just sit empty.

      • EnricEnric commented  ·   ·  Flag as inappropriate

        All the developers I know store their development projects in they own "Projects" folder, each project in a subfolder withing that fodler, but never under My Documents. Therefore, my suggestion is that you ask the user where that "Projects" folder is, and store whatever you need in there, and NEVER EVER under My Documents. At the end, a development project is not a document. Your proposal of asking the user where to locate a folder the first time it is going to be used is fine too, but do not default to My Documents, because that will pollute the folder if the developer is lazy.

      • Lacy MooreLacy Moore commented  ·   ·  Flag as inappropriate

        Almost 6 years later and still a problem. Even moreso since OneDrive for Business can't deal with C#. We'll all be dead and gone before either problem gets resolved.

      • Anonymous commented  ·   ·  Flag as inappropriate

        Apart from chosing the location at first use, there *must* be a possibility to Change it later on. How would I expect some Folder Settings of VS to be a problem without having experienced it before? In our place, MyDocuments is located on the Domain Controller - in a building on the other side of the road, i.e. not in a "real" but only virtual private Network. Now, we want to sync it to OneDrive, but according to other comments below, that may cause other Problems, too...
        (By the way, why does this strange Editor capitalize so many words?)

      • David LDavid L commented  ·   ·  Flag as inappropriate


        The proposed solution would be fine if VS ONLY creates the folders as each project type is needed. Currently it creates 8 subfolders, most of which are empty stubs. Some of those folder locations should also not be in the My Documents at all (Settings & Templates should be under AppData/VS/).

        Ideally Visual Studio should just have the ability on first launch to specify the "default project folder" and let the user put it where they want.

      • Blair WallBlair Wall commented  ·   ·  Flag as inappropriate

        Why not put the VS settings folders under appdata by default.

        The reason why I want this is because I usually rig up my local documents folder to be "sync'd" to OneDrive.

      • JamesJames commented  ·   ·  Flag as inappropriate

        Is this never going to be fixed? I do not want my 'My Documents' folder to be cluttered with rubbish as it is backed up, and I do not want rubbish programs to fill it with rubbish.

        As you can probably tell I am not particularly happy about this practice.

        I have been through and deleted\edited everything, in VS and in the registry. Still I get a folder full of rubbish I do not want. To some extent OK, by default it is not right but at least I can change it, bbut if editing the registry is no good then why? It is obviously hardcoded in the source to use %USERPROFILE%.

        And on another note, this text box just adds a scrollbar to the side, but I cannot expand it so I am stuck with 5 lines of text to view at a time. Is this done to intentionally infuriate users who are already here because they are here to complain anyway? If so, it works, I am at pretty much 90 something % anger level.

      • Anonymous commented  ·   ·  Flag as inappropriate

        this is why i have a seperate folder for MY documents and leave the documents folder to be trashed by MS and every other person/company that thinks this is a good folder to dump ****. autodesk is another big offender in this regard

      • ČamoČamo commented  ·   ·  Flag as inappropriate

        ****, it does not work! I change all paths in options dialog but it still creates Visula Studio 2015 folder in documents.

      • ČamoČamo commented  ·   ·  Flag as inappropriate

        What the **** is it? Why the VS datas are not in ProgramData/VisualStudio folder or why it is not as option during installation? How can I change it?

      • FrisonFrison commented  ·   ·  Flag as inappropriate

        This is also a problem since c:\users\<name>\documents\Visual Studio 2013\Projects\... consumes a LOT of characters in the 260 something path limit...

      • Your momYour mom commented  ·   ·  Flag as inappropriate

        "As far as I can tell, applications should use "My Documents" for any documents that are intended to be explicitly managed by the user or visible to the user"

        Code is not documents. It doesn't belong in my documents.

        Regardless, the inability to rid ourselves of these folders, even after designating a different folder in the application settings, is absurd.

      • Jay R OJay R O commented  ·   ·  Flag as inappropriate

        How do we get our development team to use the Development share on the server?

        Old thread, but total frustration warrants a bump. I just changed in the registry the paths to point to our Development share on our server. Upon opening VWDExpress 2010, the settings were ignored, and in fact ALL the registry settings were changed back to the "My Documents" share on the server! "My Documents" is set by GPO to a server share ("My" documents for "Our" documents, wow if only Microsoft considered that their OS might be used in a business).

        "DefaultFileOpenLocation", "DefaultNewProjectLocation", etc. now mapped to Server's "My Documents" share. NO! PLEASE STOP making us browse to our Development share! Such a waste of time. *fuming at all the wasted time over something so stupid*

      ← Previous 1

      Feedback and Knowledge Base