How can I move the .cs or .vb files generated by a T4 template to another folder of the project in visual studio 2010.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Actually in order to do that we have to edit the T4 template file. For that in visual studio 2010 there is a extension named Visual T4. So after opening the .T4 or .tt file you can change the path of the folder where you want to generate your code files.