We just converted our Visual Studio 7.1 development projects to Visual Studio
8.0 (2005).
I am working on a form, and I want to add one of the custom controls that we
had developed under 7.1 (2003) and stored in its own project.
When I attempt to add this control (drag and drop) I get the above error. I
am trying to figgure out how to solve this so we can use/look at our code.
I tried running the project in question in the VS2005 devenv, opening up
another project, and adding the control again, so I could trap the error...
only to have the control add just fine.
Short of going in and sequentially commenting out all the controls on the
various forms, and then uncommenting out one control at a time to find the
suspect one(s), does anyone have an idea how to find and fix this issue?
Here is the full message I get dropped on me when I tried to add the control
originally:
"Failed to create 'useNumericTextBox'. The error message follows:
'System.Reflection.ReflectionTypeLoadException: Unable to load one or more
of the requested types. Retreive the LoaderExceptions property for more
information.
at System.Reflection.Module.GetTypeInternal(StackCraw lMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at
Microsoft.VisualStudio.Shell.Design.AssemblyObsole teEventArgs..ctor(Assembly
assembly)
at
Microsoft.VisualStudio.Design.VSDynamicTypeService .ReloadAssemblyIfChanged(string codeBase)
at
Microsoft.VisualStudio.Design.VSDynamicTypeService .CreateDynamicAssembly(String codeBase)
at
Microsoft.visualStudio.Design.VSTypeResolutionServ ice.AssemblyEntry.get_Assembly()
at
Microsoft.VisualStudio.Design.VSTypeResolutionServ ice.AssemblyEntry.Search(String
fullName, String typeName, Boolean ignoreTypeCase, Assembly& assembly, String
desctiption)
at
Microsoft.VisualStudio.Design.VSTypeResolutionServ ice.SearchProjectEntries(AssemblyName
assemblyName, String typeName, Boolean ignoreTypeCase, Assembly& assembly)
at Micr..'
it ran out of space....
Any ideas would be helpful. From the above, I now _something_ in this
assembly I am pulling the control from is obsolete... but I have no idea what.
Andrew S. Giles