Posts Tagged ‘visual studio 2010’

Advanced Debugging Scenarios using PowerGUI VSX

I work on a pretty big product during my day job. vWorkspace is all about distributed computing. A full lab can span numerous VMs. A lot of times the environment is key to reproducing issues based on OS or other environmental factors. This requires me to copy binaries down to machines and sometimes use remote […]

Effectively Using TFS Workspaces

Team Foundation Server is a beast. There are a lot of hidden features and TFS2012 just adds more to the already lengthy list. One of the often overlooked or misunderstood concept is that of a workspace. I recently had some coworkers discover this for the first time so I figured it would be a good […]

Fixing a crashed WPF Performance Suite

I’ve been playing with WPF a bit and was working with a rather complex GUI I developed and was trying to determine why it was rendering so slowly. I ran into the WPF Performance Suite that is part of the Windows SDK for Windows 7 and .NET 4.0. I found that the Visual Profiler really […]

PowerShell Developer Tip: Debugging COM Objects

Here’s a simple way to debug and quickly prototype COM objects with Visual Studio and PowerShell. In the Debug section of the project properties for the COM object, just put in the PowerShell executable. For command line arguments you can then specify the New-Object cmdlet to instantiate the COM object.  This is the command line […]

Perspectives 2.0

I’d like to announce the second version of Perspectives, a Visual Studio 2010 extension for managing windows configurations.  This is what version 2.0 adds. Added a toolbar for quick access to window configurations Added support for favorite configurations that show up on the quick access bar Added a refresh button to perspectives manager so that you could […]

Building Binary PowerShell Modules – Part 1 – Getting Started

When searching for PowerShell help topics I typically run into a lot of information about using PowerShell. Creating scripts, loading modules and command line tricks. I first started with PowerShell developing the vWorkspace PowerShell module. This module is almost entirely binary. Although there is some information on the topic it’s definitely far and few between. […]

C++ and PowerShell: Playing Nice Together

PowerShell is built on managed code. Integrating with the unmanaged WinAPI is typically done with P/Invoke.  I really dislike P/Invoke. I think it’s ugly, hard to get right and just feels like a hack.     Recently, I found the need to meld unmanaged C++ and PowerShell and really didn’t want to use it. So instead […]

Add PowerShell Support to Your App with the PowerGUI Add On API

In the past few releases of PowerGUI VSX I’ve been working on abstracting out the code that wraps and exposes the PowerGUI components from the code that interacts with Visual Studio. My goal was to create reusable assemblies that could be used by other projects like PowerGUI VSX. In the latest beta release this is […]

Visual Studio – Lean and Mean

Visual Studio has some serious bloat to it right out of the box. Tack on a few extensions, ReSharper and any number of other add-ons and your machine can be pretty taxed while running Visual Studio. Additionally, context menus and tool bars can expand to the point where it becomes detrimental to productivity. What I’ve […]

PowerShell for Programmers – Automating Code Generation with PowerShell

There is a feature that has been in pretty much every PowerShell host inside Visual Studio and that is the ability to access the DTE (the top level automation object). Here are a couple cool things that you can do using the DTE. I’ll start by defining a couple simple functions for finding code elements. […]