Please do the following:
Delete the obj folder
Open the solution (.sln) with visual studio. Right click on the project > Then click Properties
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.
Done. You can try to build the project again.
Hope this helped. Let us know if you have any other questions. Thank you!