An Strange Error: about User Control
hi;
I am working with the usercontrol in the past days, I found a very strange problem. (Maybe a bug of VS2005).
First time I create the user controls in an Assembly named XControls, the main application will use this assembly named TestApplication. When I am drag my created user controls into the Main Form. But it seems that sometimes I success in doing this. But sometimes I failed with the following error Message:
Code:
Failed to create component 'UserControl1'. The error Message follows:
'System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.Module.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Microsoft.VisualStudio.Shell.Design.AssemblyObsoleteEventArgs..ctor(Assembly assembly)
...
While the same phenomenon does not appear regularly, but rather randomly.
Hope someone can help me.
wxuf
Re: An Strange Error: about User Control
Yes I think it's a bug too. I also create alot of users control. Wht i do is clean n rebuild the project and open the designer once... and close it and open again. It works... Do not know why this happens.
Re: An Strange Error: about User Control
Are there any service package for VS2005 ?
By past experience, microsoft always provides such packages.