Monday, August 13, 2012

TFS Agile Template error "Report execution has expored or cannot be found"

I always wonder why some errors simply disappear by closing and opening an application. This error happened when I tried to open the Sprint Burndown report from Visual Studio 2010. After investigating a couple of hours, I read that just re-opening Visual Studio fixed the problem. And it did!

Saturday, August 11, 2012

CC.NET and SharePoint nightmares

A while ago I thought I was done setting my SharePoint unit tests and ready to execute them with xUnit/CC.NET. However, things didn't work. I didn't consider that xUnit runs as 32 bit and SharePoint runs as 64 bit. How I concluded this was causing the problems will be part of another post. The solution was to compile xUnit as 64 bit (set target = x64) and voila!

One thing that I didn't solve was that even though this solution worked in computer A, it didn't work in computer B. I also got to say that there was little information on the web about setting up automated unit tests in SharePoint. Am I one of the few people that dares unit test SharePoint modules?