mservidio
mservidio

Reputation: 13057

Updating Visual Studio Projects and Solutions Locations through batch

Is there a way to update the Visual Studio 2012 Projects and Solutions Locations through command line and/or registry edits post install? We're looking to update the top 3 locations through a script in this screenshot.

enter image description here

Upvotes: 0

Views: 131

Answers (1)

kgu87
kgu87

Reputation: 2057

This setting is loaded from the VS .settings file, which is typically in %userprofile%\My Documents\Visual Studio 2012\Settings\ folder. The entries are under

<ToolsOptionsSubCategory 
    name="ProjectsAndSolution"
    RegisteredName="ProjectsAndSolution"    
    PackageName="Visual Studio Environment Package">    
       <PropertyValue name="ProjectsLocation">c:\projects</PropertyValue>
        ...

Hope this helps.

Upvotes: 1

Related Questions