none
How to track down reason for Edit and Continue compile failure?

    Question

  • I have a very large Solution with many projects, one of which builds a DLL written in C++. I've not been able to use Edit and Continue in Visual Studio for many years, but seems that in the 2015 version, it started to work. (YAY!) However, something changed again, and I'm not sure what, but Edit and Continue stopped working again.

    The error I'm getting is:

    error C2858: command-line option 'program database name (/FdD:\Projects\clean-dev\path\x64\Debug\vc140_ib_3.pdb)' inconsistent with precompiled header, which used '/FdD:\Projects\clean-dev\path\x64\Debug\vc140.pdb'

    I've looked around and I can't seem to find out what would be causing this issue or any way of tracking it down. I'm not sure how the compiler could be referencing different .pdb files.

    Any idea as to how to track down the cause of this issue?


    I don't mind someone marking a post as "Proposed as answer", but DO NOT mark it as "Answered". If I am the OP, I will decide if a post actually answers my post or not. Thank you.

    Thursday, April 06, 2017 5:56 PM

All replies