Please do the following:

  1. Delete the obj folder

    Untitled

  2. Open the solution (.sln) with visual studio. Right click on the project > Then click Properties

    Untitled

  3. Go to Build > Output. Make sure the value for Base intermediate output path is “obj\”. Or you can also try to click “Browse” and select the path of your project for creating the “obj” folder.

    Untitled

  4. Done. You can try to build the project again.

Hope this helped. Let us know if you have any other questions. Thank you!