Como: Desativar o processo de hospedagem

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. Abrir um projeto em 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 Depuração e o processo de hospedagem.

In general, when the hosting process is disabled:

  • O tempo necessário para iniciar a depuração .NET Framework aumentos de aplicativos.

  • Design-time expression evaluation is unavailable.

  • Partial trust debugging is unavailable.

Consulte também

Conceitos

Depuração e o processo de hospedagem

Processo Host (vshost.exe)

Compilação Durante o Desenvolvimento de Aplicativos