I have to run the Custom Tool using in my MS Build Proj file. I know we can do it by using the TextTransform.exe. And my .tt file contains environment variables like $(SolutionDir) and $(OutDir). So while running the Custom Tool through cmd/Ms Build, it is not able to recognize those environment variables and gives an error. But if I give absolute path in my .tt file, it is able to run and generate the codes. Is there any way to run custom tool with those environment variables in the .tt file?
↧