Udostępnij za pośrednictwem


Edit and Continue (Visual Basic): Conditional Compilation Edits

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

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

Standard

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

Pro and Team

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

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.

Most changes to conditional compilation directives are not allowed while in Edit and Continue mode. Specifically, Edit and Continue does not support the following changes:

  • Adding or removing conditional compilation directives.

  • Adding, removing, or changing the evaluation expression of a conditional compilation statement.

If you want to make one of these changes, you must stop debugging and recompile your project.

See Also

Tasks

How to: Apply Edits in Break Mode with Edit and Continue

Reference

Edit and Continue (Visual Basic): Unsupported Declaration Edits

Other Resources

Edit and Continue (Visual Basic)