|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to embed xsl-stylesheets in resx-files?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 See my other reply
Show quoteHide quote "Andreas Zita" <andreas.z***@gmail.com> schreef in bericht news:e$mW0UsEGHA.3700@TK2MSFTNGP15.phx.gbl... > 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 > > |
|||||||||||||||||||||||