Hi,
I recently implemented a quick T4 template to generate some data access related classes in our app (Thanks Oleg). One problem I am facing is that my template does need to read data from an XML file that is part of the solution.
Obviously, the path to the XML data must be relative. But when I first implemented it yesterday, it looked like it was starting from the solution root's parent. Today, it wanted to start from the solution root. Though solution root makes more sense, I was wondering if anybody had the official answer.
And maybe someone has a better, more official way of reading data from a file for code-gen with T4.
Regards,
Eric.