title: Visual Studio project build as an executable AND a DLL
body: <p>In Visual Studio 2008 project properties, Application tab, I can set the Output type to Windows Application, Console Application, or Class Library. I have a project that I want to build as a stand-alone tool (console app) <em>and</em> be available to a couple other tools I'm working on as a class library.</p>
  
  <p>The VS GUI only lets me choose one or the other, and building the proj twice all the time is inconvenient.</p>
  
  <p>How can I set it up to build both output types in a single build job? Do I write some custom MSBuild .targets file or what?</p>