title: C# Base Class MyFrm could not be loaded
body: <p>I have the following custom Form (MyFrm) which inherits from Form.</p>
  
  <pre><code>public class MyFrm&lt;T&gt;: Form where T: class 
  {
  }
  </code></pre>
  
  <p>And following is my Form1:</p>
  
  <pre><code> public partial class Form1: MyFrm&lt;CONTACTS_BASE&gt;
  {
  
      public Form1()
      {
          InitializeComponent();
          MyInitialize();
      }
  
      public void MyInitialize()
      {
      }                     
  }
  </code></pre>
  
  <p>as can be seen, there is nothing exceptional, However, when right click and select view designer I get the following error:</p>
  
  <p><strong>The designer could not be shown for this file because none of the classes within it can be designed.  The designer inspected the following classes in the file: 
      Form1 --- The base class 'MyGym.Controls.MyFrm' could not be loaded.  Ensure the assembly has been referenced and that all projects have been built.</strong> </p>
  
  <p>when I remove the part below and edit my Form1 accordingly I get no errors when I go to the designer mode.
      : Form where T: class </p>
  
  <p>Why am I facing this issue? is there a fix for this? 
  Thanks</p>