How to: Manage Automatic Relinking

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

Topic does not apply Topic does not apply Topic applies Topic does not apply

Standard

Topic does not apply Topic does not apply Topic applies Topic does not apply

Pro and Team

Topic does not apply Topic does not apply Topic applies Topic does not apply

Table legend:

Topic applies

Applies

Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

By default, Edit and Continue relinks your program at the end of a debugging session to create an up-to-date executable.

Edit and Continue cannot relink your program if you are debugging it from a location other than the original build location. A message tells you that you need to rebuild manually.

Edit and Continue does not rebuild static libraries. If you make changes to a static library using Edit and Continue, you need to manually rebuild the library and relink applications using it.

Edit and Continue does not invoke custom build steps. If your program uses custom build steps, you might want to rebuild manually so that custom build steps can be invoked. In that case, you can disable relinking after Edit and Continue to ensure that you are prompted to manually rebuild.

To disable relinking after Edit and Continue

  1. On the Tools menu, click Options.

  2. In the Options dialog box, select the Debugging folder, and then select the Edit and Continue group.

  3. Clear the Relink code changes after debugging check box.

  4. Click OK.

    In addition, certain linker options disable Edit and Continue. For more information, see Linker Options that Disable Edit and Continue.

See Also

Reference

Edit and Continue, Debugging, Options Dialog Box