Embedded WebResource and FileStream
<pre><code>[assembly: System.Web.UI.WebResource("Project.ConfigurationFiles.Tools.xml", "text/xml")]




 string resource = "Project.ConfigurationFiles.Tools.xml";
 string pathXML =Page.ClientScript.GetWebResourceUrl(this.GetType(), resource);

 XmlSerializer mySerializer = new XmlSerializer(typeof(ToolB));
 using (FileStream myFileStream = new FileStream(pathXML, FileMode.Open))
{
</code></pre>

<p>The error I get: </p>

<blockquote>
  <p>Illegal characters in path.</p>
</blockquote>

<p>I guess this happens because FilleStream need file and not url.</p>
