编译项目时出错

编程入门 行业动态 更新时间:2024-10-26 07:25:32
本文介绍了编译项目时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

hi 我编译项目。但是在命令InitializeComponent();将出现初学者形成错误 public MainForm() { InitializeComponent(); 编译后显示此错误: 找不到适合指定文化或中性文化的资源。确保在编译时将My.Resources.Resources.resources正确嵌入或链接到程序集myprj中,或者所有所需的附属程序集都是可加载和完全签名的。 非常感谢

hi i compile the project . but on command "InitializeComponent();" of starter form an error will be appeared public MainForm() { InitializeComponent(); this error be shown after compile : Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "My.Resources.Resources.resources" was correctly embedded or linked into assembly "myprj" at compile time, or that all the satellite assemblies required are loadable and fully signed. thanks very much

推荐答案

这可能是由于命名空间不匹配造成的。 试试这 - 右键单击​​解决方案资源管理器中的[ResourceFile]。然后将Build Action属性Compile设置为Embedded Resource 最后再次重建并查看问题是否已解决。 希望有帮助:) It can be due to mismatch in namespace. Try this - right click on the [ResourceFile] from Solution Explorer. Then set Build Action property "Compile" to "Embedded Resource" Finally rebuild once again and see if your problem is resolved. Hope it helps :)

hi 我的项目中没有编译 在某个项目中有以下标签: 申请 编译 调试 参考资料 资源 .... 但在我的项目中,我看到以下标签: 申请 构建 构建活动 调试 参考资料 资源 .... 为什么?我怎么能看到第一种情况 hi there is not "Compile" in my project in some project there is following tabs: application compile debug Refrences Recources .... but in my project i see following tabs: application Build Build Events debug Refrences Recources .... why? how can do untile i see as first case

更多推荐

编译项目时出错

本文发布于:2023-10-19 19:17:04,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1508505.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:项目

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!