title: C# Reflection GetType() exception
body: <p>I got strange error and don't know why.</p>
  
  <pre><code>Type names passed to Assembly.GetType() must not specify an assembly.
  </code></pre>
  
  <p>The strange thing is I don't use method GetType() by myself. It is caused by following line:</p>
  
  <pre><code>var domainCommunicator = (DomainCommunicator)dmn.CreateInstanceAndUnwrap(typeof(DomainCommunicator).FullName, "DomainCommunicator");
  </code></pre>
  
  <p>domainCommunicator inherits from MarshalByRefObject. It's public but when i change it into private i get the exception that the assembly cannot be loaded. When I create additional project in my solution and have completly external .dll nothing changes. Probably because I must have reference to the main project in my new AppDomain. </p>
  
  <p>Best thing for me is to skip the DomainCommunicator class in reflection. It should be private and that's it. What caused the exception exactly?</p>