I used a .tt file in c# to generate some .cs files, how can I use these generated class separately in my project, without .tt file?
I used a .tt file in c# to generate some .cs files, how can
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.
If you open your project file as xml, either by unloading and editing in VS or by opening in some external text editor, you can remove the .tt file manually. On the generated .cs files there will also be a DependentUpon tag referencing the .tt file that should be removed as well.