How to read XML file from solution location and bind the xml file with dll?
<p>I am creating a class library, and i have created a folder called config in the solution directory. and i placed one xml in the folder.</p>

<p>How to load the xml file in my class functions?</p>

<p>I tried like below, its not loading</p>

<pre><code>        XmlDocument contentxml = new XmlDocument();
        String configxmlfile = System.AppDomain.CurrentDomain.BaseDirectory.ToString() + "Config\\instruction.xml";
        contentxml.Load(configxmlfile);
</code></pre>

<p>And I want to bind the xml file with the dll, becuase i am going to upload the dll in another application and i will call my classes from the dll, and my class will look for the xml file information there.</p>
