SimBu

Create your own visual studio output window.

It can be handy to write messages to custom output window/s… Here is some code to do that: Usage EnvdteHelpers.WriteMsgToCustomPane(“WCF”, “Hello”); Helper public static class EnvdteHelpers { private static OutputWindowPane _outputWindowPane; private static OutputWindowPane OutputWindowPane(string paneName) { return _outputWindowPane ?? (_outputWindowPane = CreateOutputWindowPane(paneName)); } private static OutputWindowPane CreateOutputWindowPane(string paneName) { var dte = (DTE)System.Runtime.InteropServices.Marshal.GetActiveObject(“VisualStudio.DTE”); var […]

NuGet – Sharing code in Visual Studio 2010

It’s an open source visual studio 2010 extension that lets you include other peoples code in your projects, or your own if you package it. The extension handles the grunt work of downloading, adding references, and configuring packages you choose to add to your project. You can also easily remove packages you’ve installed. The extension […]