Copying source code as HTML from Visual Studio 2005

One of the things I frequently do is copy VB source code into emails and documents. Now Visual Studio 2005 formats the source code on the clipboard but the resulting HTML is a bit of a dog. Most of the time I just ignored this as a minor annoyance but I was working on a newsletter and the HTML needs to be as clean as possible, clearly not what VS2005 produces.
Fortunately there is a solution and it is called CopySourceAsHTML. There is a special VS2005 installer, take a look at this blog post for details on how to download and install it
Recommended 🙂
Maurice de Beijer

Leave a Reply

Your email address will not be published. Required fields are marked *