title: InternalsVisibleTo doesn't work with all assemblies. Some works, some not works
body: <p>I have a Common DLL which have some internal methods for internal usage. Beside I also have 3 other projects WebServices, UnitTests and PATs</p>
  
  <p>In AssemblyInfo.cs of Common project, I added these lines:</p>
  
  <pre><code>[assembly: InternalsVisibleTo("WebServices, PublicKey=00240...b59a0")]
  [assembly: InternalsVisibleTo("UnitTests, PublicKey=00240...dcf98")]
  [assembly: InternalsVisibleTo("PATs, PublicKey=00240...e65cf")]
  </code></pre>
  
  <p>These internal methods work perfect with UnitTests and PATs but WebService. It's weird that I can see these internal methods in the IntelliSense box when I write code in WebService project. There is no error alert when I write code but when I build the project, I got this error message</p>
  
  <blockquote>
    <p>'Common' does not contain a definition for '<em>internal method name</em>'</p>
  </blockquote>
  
  <p>At that time, I thought the assembly name is wrong in some way. And I try to make it's really wrong for sure: </p>
  
  <pre><code>[assembly: InternalsVisibleTo("WebSer, PublicKey=00240...b59a0")]
  </code></pre>
  
  <p>Then in the WebService project, it turns red immediately at the line I use Common internal methods without compiling with this message:</p>
  
  <blockquote>
    <p>Cannot access internal method '<em>internal method name</em>' here</p>
  </blockquote>
  
  <p>So I think my assembly name is correct but I still don't know why I cannot use internal methods in my WebServices project.</p>