title: Access an XSLT file as resource from same project?
body: <p>I have an XSLT file that I want to load and use to transform an XML file. I've added the file to the same project as the code that uses it and put it in the "Resources" folder and set the Build Action to "Resource".</p>
  
  <p>This is the code that tries to access the file:</p>
  
  <pre><code>        XslCompiledTransform myXslTransform = new XslCompiledTransform();
  
          myXslTransform.Load(@"[projectName];component/Resources/OrderManagement/OrderOverview.xslt");
  </code></pre>
  
  <p>... where [projectName] is the name of the project. However this doesn't seem to work. I've played around with different paths, but somehow I don't seem to get it right. I'm sure it's just a little thing, but none of the articles I have found on the internet (or here) have helped me.</p>
  
  <p>Can anyone help?</p>