I assume that I have to copy and paste the 2 sections from the link that you sent:
I then go File --> new --> C# template
I tried to overwrite the \"template Code\" tab code with the \"templateBody\" code that I copied and pasted from the links you kindly sent.
I then ran it but am recieving NullreferenceException errors on the 1st line.
I've been checking the documentation, but can't see where I'm going wrong.
can anyone advise?