title: How to get the assemblies for each project in a solution not including references?
body: <p>Sorry if this is a repost/duplicate but I couldn't find anything relevant.</p>
  
  <p>Here is what I have tried:</p>
  
  <pre><code>var assembly = Assembly.GetExecutingAssembly();
  </code></pre>
  
  <p>which gets you the executing assembly and with</p>
  
  <pre><code>var assemblies = AppDomain.CurrentDomain.GetAssemblies();
  </code></pre>
  
  <p>which can get every assembly <em>including your references</em>.</p>
  
  <p>However, I want all the assemblies of the solution's projects (not packages/references).</p>