Did that, first, a message window pops up, it looks like this:
Debugging information for 'program.exe' cannot be found or does not match. Binary was not built with debug information.
Do you wan't to continue debugging?
[]Don't show this dialog again
[YES] [NO]
If i press yes, the program runs, and it executes its task, but it doesn't use the image. If i paste the image into the "release" folder, it works. So this did nothing for me, i still need to have the image in the same folder as the .exe file.
I just love the smell of code in the morning...