Geeks With Blogs

News Opinions and articles on this blog are mine alone and do not represent my employer. All articles and blog entries are posted using a personal computer system outside of my employer network.
Sam Abraham Software Engineer/Architect: Putting Customers First
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.
Posted on Monday, May 23, 2011 9:36 AM Fladotnet.com , Tech Talk , VS2010 , .Net 4.0 | Back to top


Comments on this post: Upgrading VSCommands2010

# re: Upgrading VSCommands2010
Requesting Gravatar...
what is the step to use"visually "Group" partial classes in Solution Explorer"? thanks
Left by shibo on Jun 16, 2011 11:16 PM

# re: Upgrading VSCommands2010
Requesting Gravatar...
Install VSCommands2010, select your partial class files in solution explorer and right click and select "Group".

Hope this helps!

--Sam
Left by Sam Abraham on Jun 24, 2011 3:59 PM

Your comment:
 (will show your gravatar)


Copyright © Sam Abraham | Powered by: GeeksWithBlogs.net