When I am using the WinForms designer with a few user controls, I notice that each time I go into the design view, then try to compile my application, the .Designer.cs file can't can't compile because it can't seem to find the class. But when I remove the default namespace value from the namespace of the usercontrol, the class can then be found and the form will compile.
Example...
Project Default namespace as defined in proj file: OrderEntry
Namespace of an offending user control: OrderEntry.frmMainUserControls.Customer
.Designer.cs class definition:
Works:
this.customerOrders = new frmMainUserControls.Customer.CustomerOrders( );
Changes to after viewing form in designer ( Does not compile ):
this.customerOrders = new OrderEntry.frmMainUserControls.Customer.CustomerOrders( );