无法在VS2019中运行VS2015项目

时间:2020-11-06 11:19:41

标签: vb.net visual-studio-2015 visual-studio-2019

我已经将VS2015中的VB.NET中的winform项目克隆到了VS2019中,但是我在My.Resources上遇到了很多错误,实际上,每个Winform都无法找到项目资源,而如果我右键单击项目,然后单击“资源”,我将看到所有这些资源。

错误显示“无法初始化InitializeComponent”

in Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomParser.OnMethodPopulateStatements(Object sender, EventArgs e)
in System.CodeDom.CodeMemberMethod.get_Statements()
in System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)
in System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
in Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
--- Fine traccia dello stack da posizione precedente dove è stata generata l'eccezione ---
in Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
in System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host)  

每个使用Winform .Designer中My.Resources的文件

Global.ProjectName.My.Resources.Resources.bcksp2

'资源不是ProjectName.My的成员

ProjectName.My.Resources.Resources

0 个答案:

没有答案