Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio compiles but the exe isn't there

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.

like image 847
crv Avatar asked Jul 12 '10 19:07

crv


People also ask

Where is the EXE file in Visual Studio?

In Visual Studio, select File > Open > Project. In the Open Project dialog box, select All Project Files, if not already selected, in the dropdown next to File name. Navigate to the .exe file, select it, and select Open. The file appears in a new, temporary Visual Studio solution.

How can I see the code of exe in Visual Studio?

In Visual Studio you can open any EXE as a 'project'. Just go to File->Open->Project/Solution and browse to the .exe file.

Does C# compile to exe?

After a developer writes the C# code, he or she compiles their code. This results in Common Intermediate Language stored within Portable Executable (PE for 32-bit, PE+ for 64-bit) files such as “.exe” and “. dll” files for Windows.


1 Answers

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.

like image 79
Marc Schluper Avatar answered Nov 02 '22 21:11

Marc Schluper