The tool I used to get my source code to look pretty in my blog posts is a Visual Studio Add-In called CopySourceAsHTML. When I do the copy, I follow the instructions here.
Now, that I want to start using Visual Studio.NET 2008, I need to get this working.
To do so, go to your C:\Users\<User>\Documents\Visual Studio 2005\Addins and copy all the files that start with CopySourceAsHtml (there should be four, a pdb, a dll, a config file and an add-in manifest) to the C:\Users\<User>\Documents\Visual Studio 2008\Addins directory.
Then, in the Visual Studio 2008 Addins directory, open the CopySourceAsHtml.AddIn file, and change the HostApplication Version nodes to the 9.0 version. See below.
<Name>Microsoft Visual Studio Macros</Name>
<Version>9.0</Version>
</HostApplication>
<HostApplication>
<Name>Microsoft Visual Studio</Name>
<Version>9.0</Version>
</HostApplication>
Restart Visual Studio.NET 2008 and you should be all set.
0 comments:
Post a Comment