Things I don’t like about TFS Source Control

16. February 2011 Rant 0
I’ve been using TFS at work for about the past 8 months.  Prior to that, I’ve used other source controls such as Seapine’s Surround SCM, Visual Source Safe, and Git. I’ve used Surround and VSS in production environments, and Git for personal projects. So far, here are some areas that I think TFS is lacking ...

Visual Studio – Test fails when run, but not debug

02. February 2011 Howto 0
I’ve been working on some tests today, nothing super fancy, just some basic null tests. I originally had the following code: if(actualEmployeeSize != null) l.EmployeeSize = actualEmployeeSize.Parse(default(int)); All I wanted to do was write 3 tests: Test if actualEmployeeSize is null, then l.EmployeeSize should be 0 If actualEmployeeSize can’t parse, then l.EmployeeSize should be 0 ...

Best Piece of Debugging Advice

02. February 2011 Uncategorized 0
The best advice I ever got for debugging came from my grandma. She never got on the internet. She never wrote a computer program, and to the best of my knowledge never touched a computer. About the closest she ever got was when she’d come visit, the guest bed was about 7 feet away from ...