I have several XSLTs used in my ASP.NET web application. I want these files to be compiled to dll whenever I build the project. Currently, I'm compiling the xslts manually by invoking xsltc.exe from vs2010 tools command prompt.
How can I add msbuild task for xsltc.exe so that it will generate assembly whenevr i build my project?
I'm using .NET 4.0.