Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Run custom Tool using command Line or MS Build

$
0
0

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? 



Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>