How to embed an XSLT file in a .NET project to be included in the output .exe?
问题 I have a simple C# Console App that reads in an XML file specified the the user, runs an XSLT transformation on it, and outputs the results. When I distribute my app to users, I want to distribute a single .EXE file. My source code consists of 3 files: the .csproj file, the .cs code file, and a .xslt stylesheet. How can I set up the csproj so the .xslt is "embedded" within the output and cannot be seen or modified by the end user? Seems easy, but I can't figure it out and Google isn't being