Question

markf78 on Wed, 22 May 2013 02:58:37

I cannot figure out why Visual Studio 2012 is generating a mismatched PDB/DLL combination for my DLL, cncsupport.dll. I've tried rebuilding the application multiple times but nothing seems to help. I did not have this problem until I upgraded to 2012.

If still no help, to get the issue confirmed and diagnose by product team, would you please create connect report for it? You will get email notification for update.http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx,
if you submit it, you could share the link here, in addition, if possible, you could share me a simple sample, I will try to debug it in my side, if I get the same issue, I will help you vote it. Thanks for your understanding.

Best Regards,

markf78 on Tue, 04 Jun 2013 03:39:52

Nope, unfortunately none of these suggestions solved the problem. I always run VS as admin, my working directory was set correctly, and the MS symbol server was enabled.

Jack Zhai-MSFT on Tue, 04 Jun 2013 09:01:03

Hi markf78,

Could you share me a simple sample? Please attach your Visual Studio project, you can upload it to the sky drive, and then share the download link in your post.

If there's any concern, please feel free to let me know.

Best Regards,

Caloni on Wed, 19 Aug 2015 23:38:47

Just got stuck in the same problem, but in a C++ source that has 13 years, where its first solution was in VS 2003. Comparing the Project Properties in C/C++, Output Files, Program Database File Name, I found out that the project was pointing
to the same file path that Linker, Debugging, Generate Program Database File, when the normal situation is to generate a vc120.pdb. Comparing with a new project, the "right" value can't be $(OutDir)$(TargetName).pdb (ou ProjectName), but $(IntDir)vc$(PlatformToolsetVersion).pdb.
That solved the problem. I hope solve another one's problem as well =)