2
我想从源文件中提取嵌入资源。从编译源提取资源
为此,我使用编译:
CompilerParameters CP = new CompilerParameters();
[...code...]
CP.EmbeddedResources.Add(@"C:\WindowsFormsApp3.exe");
现在,我有在的ressource我的文件:with the ressource
但我怎么能提取物 - 呢?我用这个话题:How to Read an embedded resource as array of bytes without writing it to disk? 但它是行不通的,没有出现在我的文件夹中:/
所以,如果你能帮助我,我要提取的文件夹中的ressource。
谢谢你。
好吧,我要去测试它。 –
嘿,你能给我一个截图请,我有一个命名空间的问题:/谢谢你:) –