I have a relatively large Visual Studio solution.
I need to export all source code to a text file. I would also like to indicate the file name somewhere. How can i do this?
For example, if I have a type
namespace MyProject.Core {
I want this to move to the output.txt file (or any other text format) and look like this
//*********************************** //Filename: RecordType.cs //*********************************** namespace MyProject.Core { /// <summary> /// Enumerates possible record status /// </summary> public enum RecordType { NonWearTime = 0, WearTime = 1, NotClassified = 2 } }
All other types should be added only to the end of the file. I tried Resharper, but its header file parameters can only contain static text (I tried Filename: $FILENAME$ ), and the template parameter applies only to newly created classes.
People, this is a training project where I have to provide the source code along with the thesis.
oleksii
source share