I have compiled a simple 'Hello World' program. The program is successfully compiled without any errors. I can see a working executable in bin folder. But the Release folder of the project is totally empty.
I don't know if there is any settings problem or any problem in building. Apparently, I don't see any error.
In Solution Explorer, right-click the project and choose Properties. In the side pane, choose Build (or Compile in Visual Basic). In the Configuration list at the top, choose Debug or Release. Select the Advanced button (or the Advanced Compile Options button in Visual Basic).
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.
You can change your build mode in top of your Visual Studio:
Dependently on which mode you build your solution, Visual Studio will generate .exe in either bin\Debug
folder or bin\Release
folder.
Make sure you're building the release version, not the debug version. By default, VS will build a Debug build, which will go into the bin\Debug
folders.
For details, see How to: Set Debug and Release Configurations.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With