Until build 5.1.1731.17 running the following code using Nunit and the test runner would correctly return the currently logged in user (me!). As of the latest build it returns an empty string.
I've just had about 30 unit tests break on me!!
Further trying to get a value for TaskScheduler.FromCurrentSynchronizationContext() when running unit tests has always returned null - I have had to write code in my main application
to test for null just so that I can test the routines in the test runner.