I created a resource but files inside it are shown as not existing
<p>I embedded my files as resource in my C# program. Now i am trying to see that files exist or not through </p>

<pre><code>      if(File.Exists(path))
</code></pre>

<p>but it is not going inside the if block when even the path is the valid path to the files inside the resources. The files are the DTDs, which would be embedded as resources inside the assembly at compile time, and resolved as resources at runtime. Please help. what could possibly the reason? and what am i missing?</p>
