I had this problem and I was able to solve it using the following steps:
- Remove the project from the solution.
- restart visual studio.
- add the project to the solution as an existing project.
I had this problem and I was able to solve it using the following steps: