I've created a project with a generic gridview control which I use in every form.
public partial class _GenericGridViewControl<T> : UserControl
public partial class tblMerk_GridViewControl : _GenericGridViewControl<tblMerk>, IGenericGridViewControl
For type<T> I only use Linq dataclasses. It all worked great, until I accedently checked-out the project file in sourcesafe on my laptop and formatted my laptop. As a fix I had to undo-checkout the project-file on my computer and that's where the weird stuff began;
When I try to resize a custom control in the designer(any custom control in any form) the following error pops-up:
Type 'DataAccess.tblMerk' in Assembly 'DataAccess, Version=188.8.131.52, Culture=neutral, PublicKeyToken=null' is not marked as serializable.
Now I've searched google for this problem and I found out it has something to do with the designer wanting to serialize the control for some kind of caching, but it can't, cause my custom controls are not serializable, and will never be serializable. I also found out it might has something to do with a different error in some designer file which is masked by this error, but I don't know for sure that this is the cause here as my project compiles and workes great.
Please help me get my designer to start working for me again.
Thanks in advance, Willem