Reputation: 8211
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?
Upvotes: 0
Views: 1389
Reputation: 24453
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.
Upvotes: 2