If you need to post a blog article containing code, and you happen to be using Visual Studio 2010 (VS), there’s a nice tool that provides an easy way to preserve its formatting and syntax coloration as it appears within VS.
It’s an extension for Windows Live Writer, created by Tim, which you can find by searching the Windows Live Writer gallery or going straight to Tim’s page at Windows Live gallery – Paste As Visual Studio Code.
Download this extension using the button on the web page. Launch the .msi file to install it. Now from within VS, you just select your code, CTRL+C to copy it to the clipboard, and then go over to your Live Writer blog and in your main menu-bar, select Insert > Paste As VS Code… and ahhhh… check it! You also get a nice panel of options to set, and you can save your customizations as a default.
namespace RLib
{
public interface IApp
{
IInterlocution Interlocution { get; }
Very nice Tim!!!
by James W. Hurst