本文介绍了我要解决....为了防止在加载设计器之前可能的数据丢失,必须解决以下错误:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在很久以前开发的项目中工作我认为在vb6中,我在尝试查看vb中的表单时使用vs2012

。 net它显示此错误消息



为了防止在加载设计器之前可能丢失数据,必须解决以下错误



和调用堆栈显示



在System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager,String exceptionText,String helpLink)


在System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializePropertyAssignStatement(IDesignerSerializationManager) manager,CodeAssignStatement语句,CodePropertyReferenceExpression属性参考,布尔报告错误)

在System.ComponentMo del.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager,CodeAssignStatement statement)

在System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager,CodeStatement statement)



可能是什么原因以及如何解决这个问题



可以有人帮忙。谢谢

Hi
I am working in the project that was developed long time ago i think in vb6 ,i am using vs2012
when trying to view a form in vb.net it shows this error message

"To prevent possible data loss before loading the designer, the following errors must be resolved"

and Call stack shows

at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializePropertyAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement, CodePropertyReferenceExpression propertyReferenceEx, Boolean reportError)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)

What could be the cause and how can i go about solving this

Can Someone help.Thanks

推荐答案


这篇关于我要解决....为了防止在加载设计器之前可能的数据丢失,必须解决以下错误:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 23:06