Export (0) Print
Expand All

How to: Manage Automatic Relinking

This topic applies to:

Visual Studio Edition

Visual Basic

C#

C++

J#

Express Edition

No

No

Yes

No

Standard Edition

No

No

Yes

No

Pro/Team Edition

No

No

Yes

No

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 may 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. From 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

Community Additions

ADD
Show:
© 2014 Microsoft