I have an XSLT file that I want to download and use to convert an XML file. I added the file to the same project as the code that uses it, and placed it in the Resources folder and set the Action action to Resource.
This is the code that is trying to access the file:
XslCompiledTransform myXslTransform = new XslCompiledTransform(); myXslTransform.Load(@"[projectName];component/Resources/OrderManagement/OrderOverview.xslt");
... where [project_name] is the name of the project. However, this does not work. I played in different ways, but for some reason it seems to me that this is not so. I am sure that this is just a trifle, but none of the articles I found on the Internet (or here) helped me.
Can anyone help?
source share