Have you tried a Clean build? It sounds like some intermediate build files got mucked up. I'd try that, and if it doesn't work, close VS, hunt down the project output directory, and delete the bin and obj folders.