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
更多推荐
编译项目时出错
发布评论