CopyAsHtml is an Excellent AddIn for visual studio 2008. Using it allows you to copy code from Visual Studio and paste it with all the familiar code formatting in any Office document.
The problem is that there is no release for Visual Studio 2010.
The good news are that there is a work around.
- Download the latest version and install in.
- Open the installation folder
(e.g. \Program Files\J.T. Leigh & Associates\CopySourceAsHtml)
- Copy the addIn File (CopySourceAsHtml.AddIn) to the addIn direcory of VS studio
(C:\Users\…\Documents\Visual Studio 2010\Addins).
If such folder does not exist – Create it.
- Edit the addin file using an xml editor.
- Change the version to 10.0 and description to VS 2010
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Name>Microsoft Visual Studio Macros</Name>
<Name>Microsoft Visual Studio</Name>
<Description>Adds support to Microsoft Visual Studio 2010 for copying source code, syntax highlighting, and line numbers as HTML.</Description>
<Assembly>JTLeigh.Tools.Development.CopySourceAsHtml, Version=3.0.3215.1, Culture=neutral, PublicKeyToken=bb2a58bdc03d2e14, processorArchitecture=MSIL</Assembly>
- Reset VS.
- Open the AddIn Manager (Under tools) and enable CopySourceAsHtml
- Now you are ready to go!
The dashboard in Appfabric is a huge promise but when I first tested it it just did not work.
It took me quite some time to figure out the problem and I would like to share that knowledge.
Well what i did was simple: I created a simple WCF service using VS 2010, created a deployment package and deployed it to AppFabric. Then I called the service using WcfTestClient.exe and expected to see monitoring information (number of calls, exceptions thrown etc) but… NADA the Dashboard was empty.
The solutions is… Application Server Event Collector !
This service is responsible top collect the ETW monitoring and update the database the Dashboard reads from. The Application Server Event Collector service was down.
The minute I started it the dashboard came to life.
Hope this will help someone…