title: Type.GetType("namespace.classname, assemblyname") returns null, in a solution with main project and two class library projects
body: <p>So I have a visual studio solution with 3 projects in it:</p>
  
  <ol>
  <li>A class library BLL project that contains EmployeeBLL.cs</li>
  <li>A second class library DAL project that has MemoryProvider.cs</li>
  <li>A WPF project, that has EmployeeViewModel.cs and an app.config file</li>
  </ol>
  
  <p><strong><em>Code:</em></strong></p>
  
  <ul>
  <li><p><strong>App.config - appsettings</strong></p>
  
  <p><em>add key="EmployeeMemoryProvider" value="EmployeeMemoryProvider.MemoryProvider,EmployeeMemoryProvider"</em></p></li>
  <li><p><strong>EmployeeViewModel.cs - constructor:</strong></p>
  
  <pre><code>public EmployeeViewModel()
  {
      var configString = ConfigurationManager.AppSettings["EmployeeMemoryProvider"];
      _employeeBLL = new EmployeeBLL(configString);
      var employeeList = new ObservableCollection&lt;Employee&gt;(_employeeBLL.GetAllEmployess());
  }
  </code></pre>
  
  <p>}</p></li>
  <li><p><strong>EmployeeBLL.cs, constructor:</strong></p>
  
  <pre><code>public EmployeeBLL(string configString)
  {
      var providerType = Type.GetType(configString);
      _employeeProvider = (IEmployeeProvider)Activator.CreateInstance(providerType);
  }
  </code></pre></li>
  </ul>
  
  <p><strong><em>Goal:</em></strong> I want to get the type of the string from the App.config, which the string is first obtained in <em>EmployeeViewModel.cs</em> as <em>configString</em> then passed into the constructor of <em>EmployeeBLL.cs</em> and finally use the <em>Type.GetType(configString)</em> to get the type of <em>configString</em></p>
  
  <p><strong>Problem</strong>: the <em>providerType</em> returns null, even though the assembly name and namespace of the DAL project are both <em>EmployeeMemoryProvider</em>.</p>
  
  <p>Can anyone shed some light? Is it because I missed a space after the comma in <em>"EmployeeMemoryProvider.MemoryProvider,EmployeeMemoryProvider"</em>?</p>