Visual Studio: Multiple startup projects

I have just been blessed with knowledge from 11 times MVP Chris Crowe. I was down in IS Land, complaining about how Visual Studio became unstable when debugging many instances of the same solution. And Chris drops the bombshell that you can launch and debug from the same instance.

Low and behold it’s true, and now I’m even considering moving more projects into the same solution, just to simplify the debug launch process…

So the steps are:

  1. right-click on your Solution in the Solution Explorer
  2. click of Properties
    Steps 1 - 2
  3. select Startup Project
  4. select Multiple startup projects:
  5. change the Action from None to Start or Start without debugging
  6. use the Arrow to change the order of the projects starting up
    Steps 3 - 6
  7. press F5 to run them all…

For more information here is the MSDN link

Visual Studio 2005 can do directory based search

One of the features I thought was lost in Visual Studio 2005, directory/file based searches, is not!

When you bring up Files In Files (Ctrl+Shift+F, Edit.FindinFiles) you can type in the path straight

Find_In_Files

Or you can click on the Epsilon button at the side and select many directories.

Folder_Choosing

Look you can even have named sets.

I take back all those bad word I said about you Microsoft. Well maybe I leave some the table, because it has taken me so long to re-find one of my favorite features.

Visual Studio 2008 Beta 2 is out…

From Darryl I learnt Visual Studio 2008 Beta 2 is out. Damn it, I had only just gotten Beta 1 installed and working how I liked in my VPC at work.

Well I’m excited really about the new version, but more annoyed at all the system updates that wasted so much time this week, when all I want to do was experiment with Silverlight.

Now I’ve just got to not restart my dev machine over the next ~7 hours while it comes down.

I was wondering about Silverlight, but reading Soma’s details Silverlight 1.0 RC is due any day now also. Woot!

Visual Studio keyboard mappings lost.

After installing DirectX SDK (April 2007) I have lost my keyboard mappings in Visual Studio. Del and Delete, Arrows Enter all don’t work.

I have done a repair on Visual Studio (only took an hour) and that didn’t fix it.

So it now looks like I get uninstall the DirectX SDK (knew I should stick to OpenGL), and uninstall/install Visual Studio again.

Failing that it might be repave time. And here I was just wanting todo some work….

Update: ARRRRRGGGGGG, Uninstalled DirectX SDK (April 2007 and December 2005) didn’t work!

Uninstalled Visual Studio 2005, and reinstalled, still doesn’t work! In fact it’s like it didn’t actually uninstall.

I’m SOOO grumpy at this point.

Update 2: Nothing like, having nothing to lose to help solve the problem. I went and deleted the following directories

  • C:\Documents and Settings\<user name>\Application Data\Microsoft\VisualStudio\8.0
  • C:\Documents and Settings\<user name>\Application Data\Microsoft\VisualStudio\recent
  • C:\Documents and Settings\Parents\Local Settings\Application Data\Microsoft\VisualStudio\8.0

Plus the .suo and .ncb of my project and it now working correctly again.

THANK GOODNESS!