generating C# code file during Visual Studio build

554 views Asked by At

I have an XML and an XSLT file. The XSLT transforms the XML into a C# file. What I want to do now is let visual studio generate the .cs file during a pre build event and then compile the project as usual. Is this even possible? If so, how can this be done?

This is about VS 2013.

0

There are 0 answers