0
Answer

Error while dragging userControl in to the form

poornima sekar

poornima sekar

16y
2.3k
1
Hi,
 I m getting the following error while trying to place the UserControl into the Form.

Failed to create component 'ResizedUserControl'.  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._GetTypesInternal(StackCrawlMark& stackMark)

   at System.Reflection.Assembly.GetTypes()

   at Microsoft.VisualStudio.Shell.Design.AssemblyObsoleteEventArgs..ctor(Assembly assembly)

   at Microsoft.VisualStudio.Design.VSDynamicTypeService.ReloadAssemblyIfChanged(String codeBase)

   at Microsoft.VisualStudio.Design.VSDynamicTypeService.CreateDynamicAssembly(String codeBase)

   at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.get_Assembly()

   at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.Search(String fullName, String typeName, Boolean ignoreTypeCase, Assembly& assembly, String description)

   at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchProjectEntries(AssemblyName assemblyName, String typeName, Boolean ignoreTypeCase, Assembly& assembly)

   at Mic...'
How to overcome this error?Any Solution Plz....
Thanks in Advance