I have run into this more than once. Closing Visual Studio down, delete bin, obj, and vsn folders. Restart and it works.