Type or namespace name does not exist [closed]

I have had the same problem, and I had to set the “Target Framework” of all the projects to be the same. Then it built fine. On the Project menu, click ProjectName Properties. Click the compile tab. Click Advanced Compile Options. In the Target Framework, choose your desired framework.

Leave a Comment