Sorry for posting in such an old thread, but I found that just deleting the Intermediate folder in the project is enough to fix the error.
Sorry for posting in such an old thread, but I found that just deleting the Intermediate folder in the project is enough to fix the error.