How to embed xsl-stylesheets in resx-files?

  • Thread starter Thread starter Andreas Zita
  • Start date Start date
A

Andreas Zita

Hi

I have a 2.0-app which contains some xsl-files. I would like to embed these
files in the deployed sites assembly. Previously I would mark the files as
embedded resource and then retrieve them when needed using:

Assembly assembly = Assembly.GetExecutingAssembly();
XmlTextReader reader = new
XmlTextReader(assembly.GetManifestResourceStream("..."));

How can I do this in ASP 2.0 ???

I guess I would use .resx files in App_*Resources but it doesnt seem to
allow embedding xsl-files?? Im confused ...

/Andreas
 
Back
Top