An XML file is just an input file with no logic. I have a feeling that you are embedding this XML file as a resource, is that correct?
Why don't you use the XML file as a FILE outside of your DLL and console application and read it from the file system?