How to create a folder in bin/Release for Visual Studio Project?
My project calls external exe file, and I would like to place that
exe file in bin/Release/External. But every time I rebuild my project
everything is removed, so I can't just manually copy the file there.
How should I do it?
The folders inside the bin folder of your project are always deleted when you clean your solution (unless you change the project properties, but this won't solve your problem).
The simplest way of doing it is by adding the desired folder to your project and the exe file on the folder. Change the properties of the exe file to "Content" and "Copy always".
By doing that, everytime you rebuild your solution, the output will have the folder and exe file.
If the Exe file changes, you can add it as a link; ensuring you will have the latest version every time.