Visual Studio Project vs. Solution

bmw0128 picture bmw0128 · Mar 5, 2010 · Viewed 47.1k times · Source

Being new to VS, how may I think of these two concepts, what is the difference?

Answer

leonbloy picture leonbloy · May 30, 2011

I find some missing information in the other answers (at least for people who come from other IDEs like, say, Eclipse) . To say that a solution is a container for projects is only part of the thing. The conceptual feature of a VS project (what determines its 'granularity') is that one project produces one output: typically an executable or a library (dll). So, if you are going to code three executables that uses related code, you'll create one solution and at least three projects - probably more.