是否可以从可执行文件中读取字符串资源?如果是这样,怎么做?
Is it possible to read string resources from an executable? If so, how?
我需要编写一个单元测试,将WPF应用程序中的所有字符串资源与黄金标准进行比较,然后将其集成到发布构建过程中。
I need to write a unit test that compares all of the string resources in a WPF application against a gold standard and then integrate that into the release build process.
Richard Lewis Haggard
Richard Lewis Haggard
推荐答案
Richard.Haggard,
Hi Richard.Haggard,
>> 是否可以从可执行文件中读取字符串资源?如果是这样,怎么做?
我压缩我的.exe文件并且找不到任何资源,它只包含版本和列表,如何在.exe文件中添加资源?
我从互联网上搜索,我找不到任何从.exe文件加载资源的方法。
顺便说一句,你发布了一个帖子:
By the way, you have posted one thread :
social.msdn.microsoft/Forums/vstudio/en-US/20f8da4e-f49f-4603-9ead-ce39bf4c6728/what -is-wrong-this-objectdataprovider-declaration?forum = wpf#20f8da4e-f49f-4603-9ead-ce39bf4c6728
请关闭你的如果您已解决问题,请阅读。如果没有,请在该主题中提供您的问题。
Please close your thread if you have resolved your issue. If not, please provide your issue in that thread.
最好的问候,
Cherry
更多推荐
如何从单元测试中加载嵌入在WPF可执行文件中的资源?
发布评论