Exclude Those Unit Tests!

by 

|

in

Do you have a unit test that you don’t want to run in the nightly build? No problem. Just add the TestCategory attribute to your test and give it a “DontRunWithBuild” name or something else memorable. In Visual Studio, go to the Team Explorer, right-click on the build you want to exclude and click Edit…

Read more…

Our Favorite Visual Studio 2010 Shortcuts/Customizations

by 

|

in

Our first group blog post! Here are some of the DPL team’s favorite shortcuts for saving time in Visual Studio 2010. Hopefully you’ll find these as useful as we do. Note that these work when you’re using the standard C#.NET keyboard layout, which is the same as “DEFAULT” in the Keyboard options. Andy Unterseher –…

Read more…

Running a Service as an Application

by 

|

in

Windows services are really cool, but they can be a little bit of a pain to work with. To debug a windows service, the typical model requires you to attach to the services process. This is incredibly annoying after you do it for the 10th time, but the good news is there’s an easy alternative….

Read more…

Load Testing in Visual Studio 2010

Have you ever wondered if your custom data access code is any more efficient than simply loading a DataTable? Not that I’d recommend using DataTables except for certain situations, but Visual Studio 2010 Ultimate makes it easy to load test your data access classes to determine performance. In order to test this out I created…

Read more…

Feature Builder Power Tool – Introduction

by 

|

in

This post introduces Microsoft’s Feature Builder Power Tool (Feature Builder) and describes its major components. Feature Builder is a Visual Studio Extension that allows a developer to quickly create a feature extension for Visual Studio 2010 (VS). By introducing a new framework, developers are now able to easily integrate templates, add-ins and documentation in a…

Read more…

Single-Stepping Through MS Code

Microsoft allows you to single-step through the framework code via Visual Studio 2008/10. To enable this under 2010 is trivial. Do the following: Within Visual Studio, open Tools > Options…. The following window displays. Browse to Debugging – Symbols. Make sure the Microsoft Symbol Servers checkbox is checked, and indicate a place on your drive…

Read more…

Enforcing Architecture Rules with Visual Studio

by 

|

in

Visual Studio Modeling Projects allow you to quickly generate useful documentation for your design: class diagrams, sequence diagrams, dependency diagrams. All are very nice to look at and useful for getting to know the system. An additional, somewhat hidden feature of Modeling Projects is the ability to enforce architecture rules. In this post I’ll go…

Read more…