DCSIMG
Copy Source As Html (CopySourceAsHtml) for Visual Studio 2008 RTM - Guy Burstein's Blog

Guy Burstein's Blog

Developer Evangelist @ Microsoft

News

Guy Burstein The Bu

Disclaimer
Postings are provided 'As Is' with no warranties and confer no rights.

Guy Burstein LinkedIn Profile

TwitterCounter for @bursteg

Links

Articles

Blogs I Read

Copy Source As Html (CopySourceAsHtml) for Visual Studio 2008 RTM

Copy Source As Html (CopySourceAsHtml) for Visual Studio 2008 RTM

 Copy Source As Html CopySourceAsHtml for Visual Studio 2008 RTM

After the release of Visual Studio 2008 RTM, I really needed to blogs about technical stuff and needed Copy Source As Html (CopySourceAsHtml) with Visual Studio 2008 support.

You can download this zip file, and extract it to your Visual Studio 2008 Addins folder. For vista is it C:\Users\<username>\Documents\Visual Studio 2008\Addins, and it should be somewhere under C:\Documents and settings If you're working with XP. Notice that this folder might not be exist, so you should create it.

Copy Source As Html CopySourceAsHtml for Visual Studio 2008 RTM

After placing the files in this directory, simply restart Visual Studio 2008, and you can start working with the addin.

To make things faster, I usually customizing a keyboard shourtcut for this addin. I go to Tools -> Options, and under Environment node I select the Keyboad node. I look for the CopySourceAsHtml.Connect.CopyNow command, and assign Ctrl+Shift+H for it.

Copy Source As Html CopySourceAsHtml for Visual Studio 2008 RTM

Disclaimer: Using the above addin is under the copyrights of J.T. Leigh & Associates Inc. Any use of this addin is not supported and on your own risk.

Copy Source As Html (CopySourceAsHtml) for Visual Studio 2008 RTM.

Enjoy!

Comments

DotNetKicks.com said:

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# November 22, 2007 8:59 AM

Handy Copy Source as HTML -add-in for the Visual Studio 2005 / 2008 « blog.jemm.net said:

Pingback from  Handy Copy Source as HTML -add-in for the Visual Studio 2005 / 2008 &laquo; blog.jemm.net

# November 22, 2007 10:12 AM

CopyAsHtml actualizado ! para VS 2008 y anteriores « Asp.Net - Alejandro B. Martin said:

Pingback from  CopyAsHtml actualizado ! para VS 2008 y anteriores &laquo; Asp.Net - Alejandro B. Martin

# January 11, 2008 1:54 AM

Random Thoughts of Jorriss said:

As I get Jorriss.com back to a working state by adding the del.icio.us links , book links, Google ads

# March 18, 2008 2:04 AM

Bill Blogs in C# said:

I kept looking for an updated version of CopySourceAsHTML ( www.jtleigh.com/.../software

# March 27, 2008 10:09 PM

C#-Code in Blog-Eintr??gen « Das Megos .NET-Weblog said:

Pingback from  C#-Code in Blog-Eintr??gen &laquo; Das Megos .NET-Weblog

# April 1, 2008 5:38 PM

C#-Code in Blog-Eintr??gen « Das Megos .NET-Weblog said:

Pingback from  C#-Code in Blog-Eintr??gen &laquo; Das Megos .NET-Weblog

# April 1, 2008 5:39 PM

Arjan Zuidhof said:

As it took me 10 minutes to find out this location for XP, I thought I'll post it here in case other people need it: for me it's \Documents and Setting\Username\Application Data\Microsoft\VisualStudio\9.0. Just put the files there and you're done.

hth

# April 2, 2008 10:52 PM

Guy Burstein on MSDN said:

Copy Source As Html (CopySourceAsHtml) on VPC I've been using Copy Source As Html (CopySourceAsHtml)

# April 24, 2008 8:54 PM

.Net World said:

I kept looking for an updated version of CopySourceAsHTML ( www.jtleigh.com/.../software

# April 24, 2008 11:23 PM

Jason N. Gaylord's Blog said:

I needed Copy Source As HTML support in Visual Studio 2008. Luckily I came across this post today with

# April 29, 2008 6:34 PM

Raihan said:

Hi,

Why does CSAH put extra spaces in the generated HTML? What do I do to solve this problem?

# June 10, 2008 7:24 AM

Ultracet. said:

Ultracet.

# June 14, 2008 4:44 PM

valerio.net » Blog Archive » CopySourceAsHTML and Windows Live Writer said:

Pingback from  valerio.net  &raquo; Blog Archive   &raquo; CopySourceAsHTML and Windows Live Writer

# June 22, 2008 6:55 AM

.NETTER Characters... said:

In my last post, titled &quot;10 Tools Which I Left After Using VSTS 2008&quot;,&#160; I have included

# June 24, 2008 7:41 PM

.NETTER Characters... said:

In my last post, titled &quot;10 Tools Which I Left After Using VSTS 2008&quot;,&#160; I have included

# June 24, 2008 7:41 PM

代码乱了 said:

Writtenby:

# June 27, 2008 7:24 PM

Lipitor problems. said:

Counterfeit lipitor.

# June 28, 2008 11:03 AM

10 Tools Which I Still Use, Even I Have VSTS 2008 « Marcello Tonarelli Blog said:

Pingback from  10 Tools Which I Still Use, Even I Have VSTS 2008 &laquo; Marcello Tonarelli Blog

# July 10, 2008 11:43 AM

Troy Goode: SquaredRoot said:

BlogEngine Extension: Copy Code to Clipboard

# July 11, 2008 6:51 PM

New web articles « My Rants said:

Pingback from  New web articles &laquo; My Rants

# July 19, 2008 10:04 AM

Haugerns Development Escapades » Blog Archive » Copy Source As Html for Visual Studio 2008 said:

Pingback from  Haugerns Development Escapades  &raquo; Blog Archive   &raquo; Copy Source As Html for Visual Studio 2008

# July 22, 2008 11:51 PM

BillKrat said:

Copy Source as Html

# August 23, 2008 10:43 AM

ASPInsiders said:

CopySourceAsHtml (CSAH) is a free Visual Studio Add-In created by Colin Coller that turns Visual Studio

# August 25, 2008 1:55 PM

Books and bits » Blog Archive » More tools to format C# code into HTML said:

Pingback from  Books and bits  &raquo; Blog Archive   &raquo; More tools to format C# code into HTML

# August 29, 2008 2:05 PM

Morteza said:

Thanks, you are life saver!

# October 10, 2008 4:30 AM

Random Thoughts of Jorriss said:

Getting back up and running

# October 11, 2008 12:02 AM

Richard J said:

Works a treat!  Could it also be on the context menu for the XAML editor?  At the moment I have to copy the XAML to a C# file and CSAH.

# October 16, 2008 4:57 AM

Finally Something to help me blog about source code « Brownie’s Blog said:

Pingback from  Finally Something to help me blog about source code &laquo; Brownie&#8217;s Blog

# October 16, 2008 7:24 PM

Williarob said:

Thank you so much. I really needed this!

# December 16, 2008 1:26 PM

BillKrat said:

VOTE #2 for XAML support :)

Excellent utility!  Worth the xtra steps (pasting into XML file) to get XAML usage :)

# December 18, 2008 6:36 PM

Radenko Zec said:

Thank you.

Can you add support for Xaml files?

# February 6, 2009 11:09 AM

zhou__zhou said:

1、我很喜爱的一个颜色编码工具是CopySourceAsHtml,它是由ColinColler制作的一个VisualStudio加载项使用CopySourceAsHtml时无需访问网...

# March 21, 2009 10:47 AM

Visual Studio Addins - SmartPaster and CopySourceAsHTML « Arcane Code said:

Pingback from  Visual Studio Addins - SmartPaster and CopySourceAsHTML &laquo; Arcane Code

# March 25, 2009 8:15 AM

VS2008 Plugin: Smart Paster and CopySourceAsHtml « Life & Technology said:

Pingback from  VS2008 Plugin: Smart Paster and CopySourceAsHtml &laquo; Life &amp; Technology

# April 13, 2009 3:06 AM

djjeavons said:

I am not sure if this is old hat or not, but I regularly use the Copy Source As HTML addin in Visual

# April 15, 2009 12:10 AM

DJ's Blog said:

I am not sure if this is old hat or not, but I regularly use the Copy Source As HTML addin in Visual

# April 15, 2009 2:14 AM

Drydo's Blog said:

I am not sure if this is old hat or not, but I regularly use the Copy Source As HTML addin in Visual

# April 16, 2009 12:16 AM

Sample Weblog said:

I am not sure if this is old hat or not, but I regularly use the Copy Source As HTML addin in Visual

# April 16, 2009 12:23 AM

Kulrom said:

I am not sure if this is old hat or not, but I regularly use the Copy Source As HTML addin in Visual

# April 16, 2009 12:25 AM

The Blomsma Code - Visual Studio 2008 – Copy as HTML said:

Pingback from  The Blomsma Code - Visual Studio 2008 &ndash; Copy as HTML

# May 27, 2009 4:57 PM

BlogEngine Extension: Copy Code to Clipboard « SquaredRoot said:

Pingback from  BlogEngine Extension: Copy Code to Clipboard &laquo;  SquaredRoot

# June 9, 2009 5:31 AM

piers7 said:

I had to put the add in in :

C:\Documents and Settings\All Users\Application Data\Microsoft\VisualStudio\9.0\AddIns

...because my profile is remoted to the network, and even after fiddling with CASPOL Visual Studio didn't like that at all.

Useful resources for other places to put addins:

www.dotnetmonster.com/.../Trouble-Planning-Where-to-Install-Add-ins-in-Visual-Studio-2008

msdn.microsoft.com/.../1326zbk3.aspx

# June 10, 2009 4:49 AM

Google said:

http://search.live.com

If you do not wish to receive similar messages please inform us on it by mail               ban.site[dog]gmail.com

# June 28, 2009 10:16 PM

Dennis van der Stelt said:

UPDATE : CopySourceAsHtml can be obtained from CodePlex . I was looking for CopySourceAsHtml for Visual

# September 1, 2009 9:31 AM

שלמה גולדברג said:

החלטתי לכתוב פוסט לבלוגר המתחיל, לפחות עד שבאמת יקימו את הבלוג/פורום – הסיבה שהחלטתי לכתוב את הפוסט היא

# September 26, 2009 11:33 PM

Copy Source As Html | Demon's Blog said:

Pingback from  Copy Source As Html | Demon&#039;s Blog

# July 14, 2010 9:07 AM

Copy to html | Inkinmyblood said:

Pingback from  Copy to html | Inkinmyblood

# July 7, 2011 11:40 AM

Source html | Fantasywearonl said:

Pingback from  Source html | Fantasywearonl

# November 20, 2011 7:51 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: