How do I prevent VS from showing user the following warning:
No Debugging Information Debugging information for 'MyExe.exe' cannot be found or does not match. Cannot find or open the PDB file. Do you want to continue debugging?
In my situation the user of my product wants to develop a plugin and (s)he want to debug it. There is appropriate configuration in VC++ project so that when (s)he presses F5 then my application will start and load the plugin. However, VS complains about lack of debugging information. While in general lack of valid debugging information is a valid concern, in this case I don't want to deliver .pdb file for MyExe.exe (user has no reason to debug my MyExe.exe application). Is there a way to prevent VS from searching for debugging information for MyExe.exe?
Generate Debug Info
underProject Propeties > Configuration Properties > Linker > Debugging
. That should be set toYes(/DEBUG)
to avoidNo Debugging Information Debugging information for 'MyExe.exe'