I also get the following error (all of which is very frustrating - I haven't
changed anything in the form design in ages and now I can't view it at all)
Unable to load one or more of the requested types. Retrieve the
LoaderException s property for more information.
at System.Reflecti on.Module.GetTy pesInternal(Sta ckCrawlMark& stackMark)
at System.Reflecti on.Assembly.Get Types()
at
Microsoft.Visua lStudio.Shell.D esign.AssemblyO bsoleteEventArg s..ctor(Assembl y
assembly)
at
Microsoft.Visua lStudio.Design. VSDynamicTypeSe rvice.ReloadAss emblyIfChanged( String codeBase)
at
Microsoft.Visua lStudio.Design. VSDynamicTypeSe rvice.CreateDyn amicAssembly(St ring codeBase)
at
Microsoft.Visua lStudio.Design. VSTypeResolutio nService.Assemb lyEntry.get_Ass embly()
at
Microsoft.Visua lStudio.Design. VSTypeResolutio nService.Assemb lyEntry.Search( String
fullName, String typeName, Boolean ignoreTypeCase, Assembly& assembly, String
description)
at
Microsoft.Visua lStudio.Design. VSTypeResolutio nService.Search ProjectEntries( AssemblyName
assemblyName, String typeName, Boolean ignoreTypeCase, Assembly& assembly)
at Microsoft.Visua lStudio.Design. VSTypeResolutio nService.GetTyp e(String
typeName, Boolean throwOnError, Boolean ignoreCase, ReferenceType refType)
at
Microsoft.Visua lStudio.Design. Serialization.C odeDom.Aggregat eTypeResolution Service.GetType (String name, Boolean throwOnError, Boolean ignoreCase)
at
Microsoft.Visua lStudio.Design. Serialization.C odeDom.Aggregat eTypeResolution Service.GetType (String name)
at
System.Componen tModel.Design.D esignerHost.Sys tem.ComponentMo del.Design.IDes ignerHost.GetTy pe(String typeName)
at
System.Componen tModel.Design.S erialization.Co deDomDesignerLo ader.EnsureDocu ment(IDesignerS erializationMan ager manager)
at
System.Componen tModel.Design.S erialization.Co deDomDesignerLo ader.PerformLoa d(IDesignerSeri alizationManage r manager)
at
Microsoft.Visua lStudio.Design. Serialization.C odeDom.VSCodeDo mDesignerLoader .PerformLoad(ID esignerSerializ ationManager serializationMa nager)
at
Microsoft.Visua lStudio.Design. Serialization.C odeDom.VSCodeDo mDesignerLoader .DeferredLoadHa ndler.Microsoft .VisualStudio.T extManager.Inte rop.IVsTextBuff erDataEvents.On LoadCompleted(I nt32 fReload)
"Richard Bysouth" wrote:
Hi
When attempting to view inherited forms in design mode I have been getting
the message "The path is not of a legal form" and am unable to view the
designer.
I can't seem to find any further information on this error - does anyone
know what the problem and resolution might be?
thanks
Richard
--
-----------
Please provide code examples in VB if possible...than ks!
-----------