Basically I would like to tell MSTest to execute a bit of code before launching into a series of test runs, essentially what I would like to do is the same thing as sticking
I see this in the MS Test header.
// Use ClassInitialize to run code before running the first test in the class
//[ClassInitialize()]
//public static void MyClassInitialize(TestContext testContext) { }
This would run before the tests in one class.
Sounds like you want to run something before all of the tests.
There is also the setup script option in the test run config.