-
November 9th, 2006, 10:33 PM
#1
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
Waiting OFFERS from CMU, UMass, UC Davis, OSU
Mail to me
-
November 16th, 2006, 08:44 PM
#2
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.
Back after a long hibernation.
-
November 17th, 2006, 10:28 AM
#3
Re: An Strange Error: about User Control
Are there any service package for VS2005 ?
By past experience, microsoft always provides such packages.
Waiting OFFERS from CMU, UMass, UC Davis, OSU
Mail to me
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|