我的表单有问题,它会产生错误。如果我删除它们,它工作正常,但问题变得有点错误。
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")))
this.pictureBox1.Image = ((System.Drawing.Image)
(resources.GetObject("pictureBox1.Image")));
System.ComponentModel.ComponentResourceManager resources =
new System.ComponentModel.ComponentResourceManager(typeof(LYNXAntiCheatForm));
错误信息:
mscorlib.dll 中出现“System.Resources.MissingManifestResourceException”类型的未处理异常
附加信息:
找不到适合指定区域性或中性区域性的任何资源。确保“LYNXAntiCheat.LYNXAntiCheatForm.resources”在编译时被正确嵌入或链接到程序集“LYNXAntiCheatForm”中,或者所有所需的附属程序集都是可加载的并且完全签名。
问题:
我如何才能真正解决这个问题而不必删除那三行代码。我确实尝试添加一个名为“LYNXAntiCheat”的 resx 文件
我使用 Visual Studio 2012 Express 来编译这个 C# 项目。