I also had to close and reopen Visual Studio to get this warning to go away, in addition to deleting the contents of my bin and obj folders for all projects in my solution.