
6
|
Chapter 1, Master Projects and Solutions
#1 Manage Projects and Solutions
HACK
that allows you to avoid starting from scratch. The checkbox specifies
whether you want to also create new project configurations. In this exam-
ple, you are going to use the default debug and release configurations, so
you don’t need to create any new project configurations, which will be
discussed under “Project settings,” later in this hack. Uncheck this check-
box. After clicking the OK button, you will see your new configuration in
the Configuration Manager. You can then configure the HacksLib project
to be built in release mode and the HacksWinApp project to be built in
debug mode or any other combination that you wish.
Projects
Projects are one of the most important parts of working with Visual Studio.
Projects contain any number of source files that are compiled into some kind
Figure 1-5. New Solution Configuration dialog
Solution Items
Solutions normally contain only projects, but you can also add miscellaneous
items to your solutions. These items must be files that you don’t want to be
compiled. This could be project documentation, Visio documents,
stylesheets, or any other documents that might not be directly linked to a par-
ticular project but relevant to the entire solution. You can even include code
files (.vb, .cs, etc.). They won’t be compiled, but if you wanted to include
examples, this would be a perfect ...