Error loading Design View of a form

G

Guest

When loading a form in the VB.Net 2005 IDE i get the following error. I
cannot seem to find any documentation that would help in solving this. The
banner suggests that the problem be solved by rebuilding the project, but to
no avail. I've tried to load an earilier version of the from from Sourcesafe,
they also fail to load.
The error it get is:

Could not load type 'System.Int32' from assembly 'mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' because the format is
invalid.
Hide

at System.Reflection.Assembly.GetType(String name, Boolean throwOnError,
Boolean ignoreCase)
at
Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.Search(String
fullName, String typeName, Boolean ignoreTypeCase, Assembly& assembly, String
description)
at
Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchNormalEntries(AssemblyName
assemblyName, String typeName, Boolean ignoreTypeCase, Assembly& assembly)
at Microsoft.VisualStudio.Design.VSTypeResolutionService.GetType(String
typeName, Boolean throwOnError, Boolean ignoreCase, ReferenceType refType)
at
Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
at
Microsoft.VisualStudio.Design.Serialization.CodeDom.AggregateTypeResolutionService.GetType(String name, Boolean throwOnError)
at System.Resources.ResXDataNode.ResolveType(String typeName,
ITypeResolutionService typeResolver)
at System.Resources.ResXDataNode.GenerateObjectFromDataNodeInfo(DataNodeInfo
dataNodeInfo, ITypeResolutionService typeResolver)
at System.Resources.ResXDataNode.GetValue(ITypeResolutionService typeResolver)
at System.Resources.ResXResourceReader.ParseDataNode(XmlTextReader reader,
Boolean isMetaData)
at System.Resources.ResXResourceReader.ParseXml(XmlTextReader reader)

Any Help would be great, Thanks
Gary
 
A

AlexS

You have some invalid data in resource file for the form. I guess you
guessed that.

Probably you need to remove resx file if it is possible
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top