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

21 בנובמבר 2007

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!

Add comment
facebook linkedin twitter email

9 comments

  1. Arjan Zuidhof2 באפריל 2008 ב 22:52

    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

  2. Raihan10 ביוני 2008 ב 7:24

    Hi,

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

  3. Morteza10 באוקטובר 2008 ב 4:30

    Thanks, you are life saver!

  4. Richard J16 באוקטובר 2008 ב 4:57

    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.

  5. Williarob16 בדצמבר 2008 ב 13:26

    Thank you so much. I really needed this!

  6. BillKrat18 בדצמבר 2008 ב 18:36

    VOTE #2 for XAML support 🙂

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

  7. Radenko Zec6 בפברואר 2009 ב 11:09

    Thank you.
    Can you add support for Xaml files?

  8. piers710 ביוני 2009 ב 4:49

    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:
    http://www.dotnetmonster.com/Uwe/Forum.aspx/vs-ext/1944/Trouble-Planning-Where-to-Install-Add-ins-in-Visual-Studio-2008
    http://msdn.microsoft.com/en-us/library/1326zbk3.aspx

  9. Google28 ביוני 2009 ב 22:16

    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

Comments are closed.