How to: Disable the Hosting Process
Collapse the table of content
Expand the table of content
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. ArchiveDisclaimer

How to: Disable the Hosting Process

Calls to certain APIs can be affected by enabling the hosting process. In these cases, it is necessary to disable the hosting process to return the correct results.

To disable the hosting process

  1. Open a project in Visual Studio.

  2. On the Project menu, click Properties.

  3. Click the Debug tab.

  4. Clear the Enable the Visual Studio hosting process check box.

When the hosting process is disabled, several debugging features are unavailable or experience decreased performance. For more information, see Debugging and the Hosting Process.

In general, when the hosting process is disabled:

  • The time needed to begin debugging .NET Framework applications increases.

  • Design-time expression evaluation is unavailable.

  • Partial trust debugging is unavailable.

© 2015 Microsoft