Debug Information to release dlls
Text: There are 3 settings to add debug information to release dlls under project -> Properties. Make sure you change your Configuration to Release and set the following properties.
Under Linker Properties ---> Debug --->
General Debug Info – Yes (/DEBUG)
Generate Program Database File - $(OutDir)/$(ProjectName).pdb
Linker Properties ----> Optimization ----->
References – Eliminate Unreferenced Data (/OPT:REF)