many projects -> solution
-
I have 16 project that I only have the source code for that I would like to put into a Solution. I have been able to create a solution with all the 16 project directories, but when I view this in the Solution Config it only show the Project for which the Solution was create. Thus I can't compile and run each of the 16 project by them selves. Kind of looks like this: Solution A StartServer .C/.Cpp/.h ShutdownServer .C/.Cpp/.h . . . RunReport .C/.Cpp/.h Directory file structure is: c:\Solution A\ c:\Solution A\StartServer\ c:\Solution A\ShutdownServer\ ... c:\Solution A\RunReport Config file only shows Solution A thus it compile all 16 everytime... I should be able to select on of the projects and compile/run it. Any help would be much appriciated. Jim
-
I have 16 project that I only have the source code for that I would like to put into a Solution. I have been able to create a solution with all the 16 project directories, but when I view this in the Solution Config it only show the Project for which the Solution was create. Thus I can't compile and run each of the 16 project by them selves. Kind of looks like this: Solution A StartServer .C/.Cpp/.h ShutdownServer .C/.Cpp/.h . . . RunReport .C/.Cpp/.h Directory file structure is: c:\Solution A\ c:\Solution A\StartServer\ c:\Solution A\ShutdownServer\ ... c:\Solution A\RunReport Config file only shows Solution A thus it compile all 16 everytime... I should be able to select on of the projects and compile/run it. Any help would be much appriciated. Jim
To do this you either have to right click on the project in the Solution Explorer window and select Project Only/Build Only... from the menu Or you can select the project you want to build as the startup project, and under the build menu select the second set of build commands, the ones that have the project name in the menu item. Selecting Build Solution (Ctrl+B) will build the entire solution which is all the project. Also check the dependency of the projects to make sure they are correct. (Menu Project/Project Dependencies. AliR. Visual C++ MVP