title: How to perform preprocessor check for if assembly references are included?
body: <p>Is it possible to perform a <code>#if</code> or <code>#ifdef</code> on something about/within an Assembly or COM reference?  For example:</p>
  
  <pre><code>#ifdef Microsoft.Office.Core
    //Create office object, etc.
  #endif
  </code></pre>