I have a Windows Control Library project in VB.NET. Recently whenever I try to load the controls in VS 2005I get the following error message:
One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.
Depending on the control I get one of the following two messages.
Could not load type 'System.Byte' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' because the format is invalid.
Could not load type 'System.Resources.UltimateResourceFallbackLocation' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' due to value type mismatch.
I have tried rebuilding the solution but it doesn't make a difference. I also have VS 2003 installed on this machine and I believe the problem started occurring when I installed a SP for VS 2003.
How can I solve this problem?
Thank you,
Sean