This happened to me after I renamed the project and solution. Even though I did a clean and rebuild, I still had to delete the bin\debug directory.