我在C#表单应用程序中遇到此错误,我认为resource.resx错误出在下面 [英] i am facing this error in C# form app, i think something went wrong with resource.resx error is bellow

查看:133
本文介绍了我在C#表单应用程序中遇到此错误,我认为resource.resx错误出在下面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误1类型或名称空间名称"Resources"在名称空间"isszma_computers.Properties"中不存在(您是否缺少程序集引用?)

Error 1 The type or namespace name ''Resources'' does not exist in the namespace ''isszma_computers.Properties'' (are you missing an assembly reference?)

推荐答案

错误意味着没有类Resources,因此也没有文件"Resources.resx".如果您使用的是Visual Studio,则可以轻松创建Resources.resx文件:转到属性"->资源",然后单击链接此项目文件不包含默认资源文件.单击此处创建一个."然后将创建一个新的Resources.resx文件.
The error means that there''s no class Resources, so there''s also no file ''Resources.resx''. If you''re using Visual Studio, you can create a Resources.resx file easily: Go to Properties->Resources and click on the link "This project file does not contain a default resources file. Click here to create one." Then a new Resources.resx file will be created.


这篇关于我在C#表单应用程序中遇到此错误,我认为resource.resx错误出在下面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆