Showing 4 results for the tag: C#.

Visual Studio and MSTest: Deploying Files

Microsoft’s unit testing infrastructure provides a number of options for deploying files to the test directory when running tests. Deploy files/directories for all tests in all test projects. Deploy files/directories for a specific test, specified in the UI. Deploy files/directories for all tests in a test class, specified in code. Deploy files/directories for a specific […]

Visual Studio and MSTest: Introduction

I’m coming up to speed on my new company’s development environment, and part of that is the usage of Microsoft’s unit testing infrastructure built into Visual Studio 2008. One of the things the tests need to be able to do is load DLLs provided by a third party. However, the unit testing environment is (or […]

Utility to wait for a process – Wait.exe

As I mentioned in this post, I spent a bunch of time looking for a command line utility that would wait until a specific process has completed.  I was dumbfounded that I couldn’t find one, so I set out to write one.  I chose C# because all the tools are available.  Here is the usage […]

Converting wildcard to regular expression

I needed to build wildcard support into a C# app I am building.  The user needs to be able to enter a string with wildcards that represent SQL table names.  It’s pretty handy that the .NET Framework includes a regular expression parser in the System.Text.RegularExpressions namespace.  However I couldn’t find a simple wildcard parser anywhere […]