When i try to specify an absolute path for the generated files using
someTemplate.RenderToFile('c:\\tmp\\filename.ext');
I’m getting the following error
Error 263 Running transformation: System.Runtime.InteropServices.COMException (0x80004005): There is already a file of the same name in this folder.
even though the folder is empty.
Vitor,
Are you using Template.RenderToFile method from T4Toolbox? If yes, this method currently doesn’t support saving files to a different folder. This has been on my to-do list for a while. What are you generating, anyway?