title: Is it possible to make all internal classes visible to another assembly in C# with some configuration?
body: <p>I know that is possible change the visibility with:</p>
  
  <pre><code>using System.Runtime.CompilerServices;
  
  [assembly: InternalsVisibleTo("UnitTests")]
  
  namespace Foobar
  {
      internal class Foo
      {
        //...
      }
  }
  </code></pre>
  
  <p>So my test project can create the test for the class <code>Foo</code>. The problem is that  I have a lot of internal classes and I don't want to dirty them with that <code>assembly</code> expression. Is there another way of doing this <code>InternalsVisibleTo("UnitTests")</code> for the whole project?</p>