How to embed xsl-stylesheets in resx-files?

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top