title: Visual Studio Project: How to include a reference for one configuration only?
body: <p>Env.: VS2008 C# project</p>
  
  <p>I need to build my app for use in 2 different environments. In one of those environments, I need to use a 3rd party DLL assembly.</p>
  
  <p>I could isolate the code that uses this DLL using #if blocks. But how do I conditionally include the reference to the DLL in the CS project file?</p>
  
  <p>Edit: womp has a good point in his comment. I turned into a <a href="https://stackoverflow.com/questions/1503701">separate question</a>: Will the referenced DLL be loaded at all if it's never called?
  TIA,</p>