Inserting copyright notice/banner/header in all source code files with

added by leniel
9/5/2012 5:44:22 AM

1 Kicks, 129 Views

Today my client asked for the source code of a project we worked together. He wants to submit it to patent review and he wanted to include a copyright notice in each C# code file (.cs). I Googled about a way of accomplishing this and found a post that used a Visual Studio macro to do the job. I use VS 2012 and there's no more Macro support. I had to resort to something else to accomplish the task. So we have PowerShell to the rescue. Read on...