title: COM Interop registration
body: <p>I have a .NET assembly which I am exposing to <a href="http://en.wikipedia.org/wiki/Component_Object_Model" rel="nofollow noreferrer">COM</a>. The assembly has two public interfaces and one public class. When I build the assembly I get this warning:</p>
  
  <blockquote>
    <p>(assemblyName.dll) does not contain any types that can be registered for COM Interop.</p>
  </blockquote>
  
  <p>My assembly information includes the following line.</p>
  
  <pre><code>[assembly: ComVisible(true)]
  </code></pre>
  
  <p>Most people having this problem on the web, that I have found, fixed it with the above line in their assembly information. This has not helped for me.</p>
  
  <p>I also tried adding <code>[ComVisible(true)]</code> to the class and interface definitions, and it also did not help.</p>