getting an embedded resource in a single dll made up of multiple class libraries
Posted
by Rahul Gupta
on Stack Overflow
See other posts from Stack Overflow
or by Rahul Gupta
Published on 2008-12-05T15:36:58Z
Indexed on
2010/04/04
0:23 UTC
Read the original article
Hit count: 730
my solution has multiple projects and in one of them I have the code to get the embedded resource (an xml file) from another project. All this works fine when all the projects are seperate. However when all the class libraries are embedded into a single dll, the code to get the resource file does not work i.e. it cannot get the emebedded resource. I was wondering if the references to the emebedded resource get mixed up when they are combined together in a single dll??
I use the method Assembly.GetCallingAssembly().GetManifestResourceStream("namespace..filename");
© Stack Overflow or respective owner