Chapter VI.1. Building Solutions and Projects

An application comprises of many pieces — presentation code, data-access libraries, unit tests, configuration files, installation programs, and more. Visual Studio organizes these pieces into projects, and the entire application is a solution.

While you're creating the interfaces and writing the data access code for your solution, you need to stop periodically and test your application. To test your application, you need to run a compiler that converts the human-readable source code in your projects to machine-readable binary files. Visual Studio provides a set of build commands that you use to compile your projects and solutions.

By its nature, the build process is tightly coupled with deployment. In the simplest deployment case, you create a release build and distribute the output files. However, very rarely is real life so simple. Some types of applications — such as multiple-tier Windows applications, ASP.NET Web sites, and mobile applications — are inherently more difficult to deploy. You need to take many variables into consideration when creating release builds.

This chapter shows you how to build your solutions and projects for use on a local development computer. (See Chapter 2 in this mini-book to read about deploying release builds.)

Understanding Solutions and Projects

Visual Studio uses logical containers — projects and solutions — for grouping all the code and resources associated with an application.

  • Solutions contain all the ...

Get Visual Studio® 2008 ALL-IN-ONE DESK REFERENCE FOR DUMMIES® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.