title: VSIX extension - How can I ensure a referenced dll or assembly is included in the VSIX file?
body: <p>When a user installs my extension, but does not have the latest Visual Studio update installed, the extension fails to resolve <strong><em>Microsoft.CodeAnalysis.CSharp.dll</em></strong> with the followeing message:</p>
  
  <blockquote>
    <p>Could not load file or assembly 'Microsoft.CodeAnalysis.CSharp,
    Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or
    one of its dependencies. The system cannot find the file specified.</p>
  </blockquote>
  
  <p>I made sure that the extension does in fact reference this assembly, and it does, but why would this assembly be excluded from the VSIX file?</p>
  
  <p>I renamed the VSIX file to a ZIP, looked at the contents, but this assembly is not shipped, even though other "Microsoft.CodeAnalysis.*.dll" assemblies are included in the VSIX file.</p>
  
  <p>I also confirmed that the "<strong>Copy Local</strong>" property on the reference is True.</p>