I moved the Type Abc.Def.Core.BaseControl from Assembly Abc.Def.Core.dll to Abc.Def.Interface.BaseControl in Assembly Abc.Def.Interface.dll.
Now inside the same solution there are other projects where I have some UserControls that derive from BaseControl. After the move the designer can't load any of them. I get the following errormessage:
Could not load type 'Abc.Def.Core.SomeObject' from assembly 'Abc.Def.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
at Abc.Def.Interface.BaseControl..ctor()
Now the buggy part is that it doesn't help to delete all bin and obj folders in the solution. After the rebuild is successfull. The designer still can't load the controls.
The solution is under VSS source control.
How can this happen? The designer obviously stores some internal information at some unexpected location that doesn't get updated when I move a type to a diffrenet assembly/namspace. The designer obviuosly still thinksthat it finds Abc.Def.Core.SomeObject in the same Assembly as BaseControl. Note that at runtime everything works just fine.