Adding and retrieving embedded resources codedom

馋奶兔 提交于 2019-12-05 11:01:50

It's almost certainly due to unexpected way the resource names are formed. One trick I use when I can't remember off the top of my head, is to temporarily add this line of code:

string[] resourceNames = _assembly.GetManifestResourceNames();

Set a breakpoint on it, and thus remind myself of the correct name, then copy that into the code.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!