Multiple Projects in one Solution in visual studio 2008

Published on January 18th, 2008 by DannyT. Filed under Visual Studio

Okay, I vaguely remember having to do this in VS2005 as well as VS2008 and have no idea why this is the default behaviour. It seems obvious to me that it’s useful to have multiple projects (read class library projects) with a web project under one solution in Visual Studio.

However, by default when you open a new project the project itself is the root of the solution and you can’t add another to it. Even if you create a blank solution file then ‘Add existing project’ it just automatically drills in and sets the first added project as the root and you can’t add any more.

Simple fix thought, all you need to do is:
Click Tools -> Options -> Projects and Solutions -> General -> check ‘Always Show Solution’

And you’re sorted.

12 Responses to “Multiple Projects in one Solution in visual studio 2008”

  1. Nentuaby

    January 19th, 2008 at 5:03 am

    Thanks! I was wondering why the hell my solution kept going away after I added the first project… Now I know and it’s back. :)

    Reply
  2. Ed

    July 30th, 2008 at 9:48 am

    Why is that not the default?

    Madness.

    Thanks :-)

    Reply
  3. Hugh G Rection

    August 12th, 2008 at 4:57 am

    wow hours of headaching, frustrating keyboard fury avoided…
    what am i supposed to do now?

    lol, back to work i suppose
    thanks dude!!

    Reply
  4. aswad32

    August 13th, 2008 at 2:20 am

    thanks a lot you save my time bro

    Reply
  5. Scott

    August 5th, 2009 at 6:03 pm

    Thanks – my VS2008 always created solutions and today, all of a sudden, it didn’t! No idea why it changed, but you saved me a lot of head scratching.

    Reply
  6. Blair

    October 7th, 2009 at 9:50 am

    Thanks. I thought I was losing my marbles!

    Reply
  7. Shivam

    January 12th, 2010 at 3:50 pm

    Thanks, I was about to go insane and throw my computer through the wall (my office has no windows you see).

    Reply
  8. Dan

    February 1st, 2010 at 3:04 am

    I was thinking like Shivam, almost sledgehammered my PC – I had done this before but was on another PC that apparently had this option set. Thanks for the info, now for the real work.

    Reply
  9. Tom

    March 3rd, 2010 at 4:59 pm

    The tip is great got me out of a jam.

    Reply
  10. Rachel

    March 11th, 2010 at 4:37 pm

    Thanks so much I spent the whole day yesterday trying to figure this out!

    Reply
  11. Drew

    June 30th, 2010 at 5:16 pm

    THANK YOU!!!!! This was driving me absolutely crazy all day today! Thank you thank you thank you thank you!!!!

    Reply
  12. Dunc

    July 20th, 2010 at 7:40 pm

    AWSOME :-)
    Another really DUMB idea from Bill Gates. Completely un-developer friendly! Lets round up the idiots responsible and stamp really hard and fast on their fragile bits with muddy boots….

    Thank you so much for this simple fix :-)

    Reply

Leave a Reply

About DannyT

The blog: danny-t.co.uk - General geek talk focusing on Rich Internet Applications, Microsoft and Adobe technologies and the web in general. The business: Moov2.com - RIA development agency Dan Thomas has been an Internet geek since circa 1994. He has been running Moov2 since 2003 and prior to that worked as a Flash developer for one of europes largest E-learning providers.

Copyright © 2010 Danny-T.co.uk

CSS Template By RamblingSoul | WordPress Theme by Theme Lab and Best Hosting.