有谁知道这个错误可能意味着什么? [英] Does anyone know what this error might mean?

查看:73
本文介绍了有谁知道这个错误可能意味着什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

专家的快速提问...


每当我在我的一个窗体上设置PictureBox的Image属性时



我硬盘上的PNG图形文件,当我试图运行应用程序时,我得到以下运行时错误:


异常类型:System.Resources.MissingManifestResourceException

消息:找不到适合指定文化的任何资源

(或给定程序集中的中性文化)。


不知道这个错误可能是指什么或如何处理纠正

it ??


谢谢!

Quick question for the experts...

Whenever I set the Image property of a PictureBox on one of my windows forms
to a
PNG graphic file on my hard drive, I get the following runtime error when I
try to run the app:

Exception Type: System.Resources.MissingManifestResourceException
Message: Could not find any resources appropriate for the specified culture
(or the neutral culture) in the given assembly.

Any idea what this error might be referring to or how to approach correcting
it??

Thanks!!

推荐答案



当您开发代码时,它将图形放入资源文件中为

c#来源引用它反对。然后当它被编译时,它会被收入

放入.exe


你的异常似乎暗示这个循环不是发生了什么?


您使用的是Sharpdevelop IDE吗?他们的资源文件有一个错误,后面是




" craig" < e@mail.com>在留言中写道

新闻:OW ************** @ TK2MSFTNGP11.phx.gbl ...

when you develop the code it places the graphic into a resource file for
that c# source to reference it against. Then when it''s compiled it gets
placed into the ".exe"

Your exception seems to be suggesting that this cycle isn''t taking place?

Are you using the Sharpdevelop IDE? they had a bug with resource files a
while back.

"craig" <e@mail.com> wrote in message
news:OW**************@TK2MSFTNGP11.phx.gbl...
专家快速提问...

每当我将我的一个窗口上的PictureBox的Image属性设置为我的硬盘驱动器上的PNG图形文件时,我都会遇到以下运行时错误当我试着运行应用程序时:

异常类型:System.Resources.MissingManifestResourceException
消息:找不到任何适合指定的资源文化
(或中性文化)在给定的集会中。

知道这个错误可能指的是什么或如何处理
纠正它?

谢谢!!
Quick question for the experts...

Whenever I set the Image property of a PictureBox on one of my windows
forms to a
PNG graphic file on my hard drive, I get the following runtime error when
I
try to run the app:

Exception Type: System.Resources.MissingManifestResourceException
Message: Could not find any resources appropriate for the specified
culture
(or the neutral culture) in the given assembly.

Any idea what this error might be referring to or how to approach
correcting it??

Thanks!!



感谢您的回复。实际上,我正在使用Visual Studio。

在网上搜索后,我发现很多消息与人说他们在类似的情况下得到了这个错误消息,但似乎没有人知道如何

去修理它。


Dan = o) < danielbass [at] postmaster [dot] co [dot] uk>在留言中写道

news:ei ************** @ TK2MSFTNGP14.phx.gbl ...
Thanks for the response. Actually, I am using Visual Studio. After
searching the web, I notice alot of messages with people saying they get
this error message under similar conditions, but no one seems to know how to
go about fixing it.

"Dan =o)" <danielbass [at] postmaster [dot] co [dot] uk> wrote in message
news:ei**************@TK2MSFTNGP14.phx.gbl...

你开发代码,它将图形放入一个资源文件中,以便c#source引用它。然后当它被编译时它会被放入.exe中

你的异常似乎暗示这个循环没有发生?
<你使用的是Sharpdevelop IDE吗?他们在回来时有资源文件的错误。

craig < e@mail.com>在消息中写道
新闻:OW ************** @ TK2MSFTNGP11.phx.gbl ...

when you develop the code it places the graphic into a resource file for
that c# source to reference it against. Then when it''s compiled it gets
placed into the ".exe"

Your exception seems to be suggesting that this cycle isn''t taking place?

Are you using the Sharpdevelop IDE? they had a bug with resource files a
while back.

"craig" <e@mail.com> wrote in message
news:OW**************@TK2MSFTNGP11.phx.gbl...
专家的快速提问... <每当我将PictureBox上的PictureBox的Image属性设置为我的硬盘驱动器上的一个
PNG图形文件时,我得到以下运行时错误
我试着运行应用程序:

异常类型:System.Resources.MissingManifestResourceException
消息:找不到适合指定文化的任何资源
(或中性文化)在给定的程序集中。

知道这个错误可能指的是什么或如何处理
纠正它?

谢谢!!
Quick question for the experts...

Whenever I set the Image property of a PictureBox on one of my windows
forms to a
PNG graphic file on my hard drive, I get the following runtime error when
I
try to run the app:

Exception Type: System.Resources.MissingManifestResourceException
Message: Could not find any resources appropriate for the specified
culture
(or the neutral culture) in the given assembly.

Any idea what this error might be referring to or how to approach
correcting it??

Thanks!!




好吧,已经很久了但是我想我记得我遇到了类似的错误a / b
。它已经有一段时间了,所以我真的不记得我做了什么来解决它

但是我认为修正它的原因是删除了bin。和obj文件夹形成

项目并再次重新编译项目。重新编译后,文件夹

将再次重新创建,希望错误消失。


尝试它没有什么可以放松的,只需备份一下这个项目只是在

的情况下......你永远不知道!!

craig < e@mail.com>在消息中写道

news:uB ************** @ TK2MSFTNGP15.phx.gbl ...
Well, it''s been a long time but I think I remember I got a similar error a
while back. Its been a while so I don''t really remember what I did to fix it
but I think what fixed it was deleting the "bin" and "obj" folders form the
project and recompiling the project again. After you recompile, the folders
will be recreated again and hopefully the error will go away.

Nothing to loose by trying it, just make a backup of the project just in
case.... you never know!!
"craig" <e@mail.com> wrote in message
news:uB**************@TK2MSFTNGP15.phx.gbl...
感谢您的回复。实际上,我正在使用Visual Studio。在搜索网页后,我注意到很多消息,人们说他们在类似的情况下得到了这个错误消息,但似乎没有人知道如何修复它。

Dan = o) < danielbass [at] postmaster [dot] co [dot] uk>在消息中写道
新闻:ei ************** @ TK2MSFTNGP14.phx.gbl ...
Thanks for the response. Actually, I am using Visual Studio. After
searching the web, I notice alot of messages with people saying they get
this error message under similar conditions, but no one seems to know how
to go about fixing it.

"Dan =o)" <danielbass [at] postmaster [dot] co [dot] uk> wrote in message
news:ei**************@TK2MSFTNGP14.phx.gbl...

当你开发代码时它将图形放入一个资源文件中,以便c#source引用它。然后当它被编译时它会被放入.exe中

你的异常似乎暗示这个循环没有发生?
<你使用的是Sharpdevelop IDE吗?他们在回来时有资源文件的错误。

craig < e@mail.com>在消息中写道
新闻:OW ************** @ TK2MSFTNGP11.phx.gbl ...

when you develop the code it places the graphic into a resource file for
that c# source to reference it against. Then when it''s compiled it gets
placed into the ".exe"

Your exception seems to be suggesting that this cycle isn''t taking place?

Are you using the Sharpdevelop IDE? they had a bug with resource files a
while back.

"craig" <e@mail.com> wrote in message
news:OW**************@TK2MSFTNGP11.phx.gbl...
专家的快速提问...

每当我将PictureBox的Image属性设置在我的一个窗口
表单上,我的硬盘驱动器上的PNG图形文件时,我都会遇到以下运行时错误
当我试图运行应用程序时:

异常类型:System.Resources.MissingManifestResourceException
消息:找不到适合指定
文化的任何资源
(或中性文化)在给定的程序集中。

知道这个错误可能指的是什么或如何处理
纠正它?

谢谢!!
Quick question for the experts...

Whenever I set the Image property of a PictureBox on one of my windows
forms to a
PNG graphic file on my hard drive, I get the following runtime error
when I
try to run the app:

Exception Type: System.Resources.MissingManifestResourceException
Message: Could not find any resources appropriate for the specified
culture
(or the neutral culture) in the given assembly.

Any idea what this error might be referring to or how to approach
correcting it??

Thanks!!





这篇关于有谁知道这个错误可能意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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