I have a project with various forms but when I try to view the designer for one of the forms I get the following error messages -
even though the project atually compiles :
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Instead of the form displaying I get :
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Hide
at System.Reflection.Module.GetTypesInternal(StackCra wlMark& 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 description)
at Microsoft.VisualStudio.Design.VSTypeResolutionServ ice.SearchProjectEntries(AssemblyName assemblyName, String typeName, Boolean
ignoreTypeCase, Assembly& assembly)
at Microsoft.VisualStudio.Design.VSTypeResolutionServ ice.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase,
ReferenceType refType)
at Microsoft.VisualStudio.Design.Serialization.CodeDo m.AggregateTypeResolutionService.GetType(String name, Boolean throwOnError,
Boolean ignoreCase)
at Microsoft.VisualStudio.Design.Serialization.CodeDo m.AggregateTypeResolutionService.GetType(String name)
at System.ComponentModel.Design.DesignerHost.System.C omponentModel.Design.IDesignerHost.GetType(String typeName)
at System.ComponentModel.Design.Serialization.CodeDom DesignerLoader.EnsureDocument(IDesignerSerializati onManager manager)
at System.ComponentModel.Design.Serialization.CodeDom DesignerLoader.PerformLoad(IDesignerSerializationM anager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDo m.VSCodeDomDesignerLoader.PerformLoad(IDesignerSer ializationManager
serializationManager)
at System.ComponentModel.Design.Serialization.BasicDe signerLoader.BeginLoad(IDesignerLoaderHost host)
Does anyone have any idea how I should go about getting rid of these errors?
Thanks for any help,
Steve