不支持的重复项目不断重新出现
我不断收到下面的错误,每次我都需要删除指定的文件来修复它。当我使用设计器时会发生这种情况。
指定了项目“obj\Debug\Supermarket.frmCustomer.resources” 在“资源”参数中多次。重复的项目不是 由“资源”参数支持。超市
有没有永久的解决方案来解决这个问题,因为我使用 Visual Studio 设计器编辑的任何表单都会发生这种情况?
I keep getting this error below, and each time I need to delete the file specified to fix it. This happens when I use the designer.
The item "obj\Debug\Supermarket.frmCustomer.resources" was specified
more than once in the "Resources" parameter. Duplicate items are not
supported by the "Resources" parameter. Supermarket
Is there any permanent solution to this, as it happens to any of the form I edit using the Visual Studio designer?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我找到了问题的解决方案!我只是创建了另一个项目并导入了所有的类和资源。
I found the solution to the problem! I simply created another project and imported all my classes and resources.
您在解决方案中复制文件,在表单设计器中打开它并重命名。 VC 重命名所有类,包括旧文件。
You copy file in solution, open it in form designer and rename it. VC rename ALL classes, include OLD file.