Visual Studio compiles but the exe isn't there

crv picture crv · Jul 12, 2010 · Viewed 55.1k times · Source

Source code that compiles fine on other peoples environments won't correctly work in my environment. When I do a rebuild the compile occurs but when visual studio goes to move the exe from /obj/debug/{solution} to /debug/{solution} it cannot find the exe in the /obj/debug/{solution}. To make this even more crazy even after I reinstall visual studio it doesn't work. On other people environments it works find. Please note that this is a windows mobile 6, compact framework 3.5 project, Visual C++ project.

EDIT: Visual Studio 2008 is being used.

EDIT2: After looking at the logs again come to find out it says it is compiling but it isn't really compiling. Interesting enough it doesn't throw any errors until it tries to link the code. When it goes to link the object files, they aren't there and it fails.

Answer

Marc Schluper picture Marc Schluper · Dec 17, 2012

I got TWO Release folders: one in the solution folder and one in the project folder. The former contains the .exe file, the latter does not.