I want my application to be distributable as a single .exe file but I want to be able to get nice error reports with source code line numbers (the application simply se
You could write a stub executable, that contains as embedded resources, both your actual executable and its pdb file. Upon starting the staub executable, it extracts the real executable and the pdb into a temporary directory and launches it.
Just like some Installers or other applications do.
I'm not sure if it is worth the extra effort though.