Multiple Projects in a Single Solution in VS2005
Creating Multiple Projects in a Single Solution is a pretty quite simple thing to do in Visual Studio 2003. It’s a matter of right clicking your solution in the solution explorer then select “Add New Project”. Well this simplicity has completely vanished upon the introduction of Visual Studio 2005.
This matter has already been questioned a number of times in the MSDN forums. And I guess it’s time for me to blog about this.
As I have mentioned earlier, this is a simple thing in Visual Studio 2003. But the problem in 2005 is that there is no solution being displayed in the Solution Explorer as seen here:
I’ve tried creating a Blank Solution in the New Project Types. After creating a Blank solution, your solution could now be seen in your solution explorer. But the problem begins when you add a new project. On some unknown reason, upon adding a new project, the solution disappears again!
So, how do we solve this dilemma? We need to show our solution file even if there’s a project contained in it. So how do we do that? Simple! It’s just in the IDE Options. Go to the Tools menu then select Options. After that the Options dialog box would be displayed as seen here:
Just navigate to the Projects and Solutions (its encircled in blue) and check the Always Show Solution check box (its encircled in red). Voila! Your solution would then be displayed in the solution explorer. Then you can right-click it and add a new project.