16 Feb 2010

Connecting Visual Studio 2008 to Team Foundation Server 2010

6 Comments Uncategorized

With the recent release of Visual Studio 2010 RC, I decided to take Team Foundation Server (TFS) 2010 RC for a spin also.  I was really interested in seeing what new and great features are being offered, because there has been a lot of buzz around this release of TFS. 

After installing Visual Studio 2010 Ultimate on my laptop and setting up TFS 2010 as a new install, which was way easier than I remember 2005 being, I connected up VS 2010 and TFS 2010 with out a problem. 

However I ran into a ton of problems trying to get Visual Studio 2008 connected to TFS 2010.  I eventually had to resort hacking the registry to get everything to work as it should.  Here are the steps I used:

  1. Click Add Existing Team Project Button
    step-1
  2. Click Servers Button
  3. Click Add… Button
  4. Type in full server name with collection specified and trailing slash, it complains if there is no trailing slash
    step-4 
    If you actually try to use this to select projects to edit, everything will look like it went smooth.  However you will notice that no projects actually show up in the Team Explorer
  5. Close Visual Studio
  6. Remove the trailing slash from the registry key of the server you just added here:
    HKEY_CURRENT_USER/Software/Microsoft/VisualStudio/9.0/TeamFoundation/Servers
  7. Open Visual Studio
  8. Connect to your TFS 2010 server and select the projects that you want to use in 2008.

Hope this helps somebody else down the line as I am sure more and more people are going to run into this problem as they adopt TFS 2010.

Note: You can do this in all one step by just adding the value into the registry, I just find this way a little more visually pleasing for explaining the concept in the blog.

01 Jan 2010

Show CodeRush Xpress 9.3 Menu in Visual Studio

5 Comments Uncategorized

As promised here is the updated scripts for CodeRush Xpress 9.3, which was released a few week ago.

The Keyboard Command Way

Shift+Ctrl+Alt+O

The Registry Hack Way

I will state this again: I really wish DevExpress would stop treating the registry as a dumping ground and creating a new parallel registry path with each new install, it makes customizing the registry settings very difficult to keep up with. I could see it for each major version, but common is a new registry path really needed for each minor version?

31 Mar 2009

What are your Visual Studio tips?

2 Comments Uncategorized

As I announced yesterday I will be speaking at the Philly Code Camp 2009.1 on Visual Studio 2008 for beginners.  As part of this presentation I want to be able to provide the 10 most valuable tips for beginners using Visual Studio.

I did a quick search of the internet last night, on this subject, and everything seemed to point to Sara Ford as the defacto standard on Visual Studio tips.  She even has a best selling book on the subject, appropriately called Microsoft Visual Studio Tips.

sara-ford-visual-studio-tips

And because she is such an awesome person all the royalties from the book are going to a scholarship fund to help pay for the the costs of sending Hurricane Katrina survivors to college. So if you are interested go pick up a copy.

The problem is that she has 251 tips in the book, and 382 tips on her website and I need to widdle this down to the top 10.

Here are my top 3, so far:

  1. Did you know… You can create toolbar buttons to quickly toggle your favorite VS Settings? – #372
  2. Did you know… how not to accidentally copy a blank line? – #050
  3. Did you know… How to optimize Visual Studio for multi-monitors? – #381

What are yours? If you have a favorite please include it in the comments below with a link (if possible).