March 2012 Entries

No tests found in file

I’m using xUnit and the Resharper test runner. Today, I ran into a situation where I couldn’t run tests. The runner icons weren’t showing in the gutter. Then I pressed Ctrl+U+R and received the following message: Well, there were several tests in the file, decorated with FactAttribute. Considering that I the code was written via TDD and the test were definitely working, I was curious why I suddenly couldn’t run them. It turns out that I removed the public modifier from the class in the not-so-distant ......

Using LINQ to Twitter with Windows Phone

The most recent release of LINQ to Twitter included support for Windows Phone. It’s important to note that only 7.1 is supported – the rationale being that 7.1 (Mango) introduced support for IQueryable, which LINQ to Twitter requires. This post will show you how to use LINQ to Twitter with Windows Phone. You’ll see a normal public query, how to log in with OAuth, and how to post a tweet. All of the code in this blog post is included with the LINQ to Twitter source code that you can download at http://linqtotwitter.codepl... ......