VSCommands2010 adds multiple convenient features to Visual Studio 2010. For instance, one feature of VSCommands2010 I use frequently is the ability to visually "Group" partial classes in Solution Explorer. This comes in handy especially with the relatively large number of files in our .Net 4.0 solutions.
I did however run into an interesting problem as I attempted to upgrade VSCommands to the latest version. Updates to the tool were successfully downloaded to disk as evidenced by the progress bar, but as I acknowledged the terms and conditions and attempted installation, I got an error: “Cannot create a file when that file already exists”. Attempting to uninstall VSCommands2010 from the Extensions Manager screen also failed.
Figure 1 - Updating VSCommands2010
Figure 2- VSCommands2010 Update Failure
The resolution was to first go under C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions and delete the DPStudio folder. This led Visual Studio 2010 to flag VSCommands2010 as disabled which allowed me to successfully uninstall it. I then went ahead and did a clean install of the latest VSCommands2010 version which succeeded.
Figure 3 - Path to DPStudio folder. Delete folder to disable VSCommands2010 in Extension Manager.
Figure 4 - With VSCommands2010 flagged as disabled, we are now able to uninstall it.
Figure 5 - Successfully installed latest VSCommands2010 version.