Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Fatal Error C1092

Error Message

Edit and Continue does not support changes to data types; build required

You changed or added a data type since the last successful build.

  • Edit and Continue does not support changes to existing data types, including class, struct, or enum definitions. You must stop debugging and build the application.

  • Edit and Continue does not support the addition of new data types if a program database file, such as vcx0.pdb (where x is the major version of Visual C++ in use) is read-only. To add data types, the compiler must open the .pdb file in write mode.

To remove this error without ending the current debug session

  1. Change the data type back to its state prior to the error.

  2. From the Debug menu, choose Apply Code Changes.

To remove this error without changing your source code

  1. From the Debug menu, choose Stop Debugging.

  2. From the Build menu, choose Build.

For further information, see the Supported Code Changes.

Community Additions

ADD
Show:
© 2015 Microsoft