Skip to content

Commit 3ebe6b5

Browse files
authored
Merge pull request #2380 from gewarren/hosting
Remove hosting process references from IDE folder
2 parents c0106ab + 6b6f7f5 commit 3ebe6b5

8 files changed

+73
-154
lines changed

.openpublishing.redirection.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,6 +1259,16 @@
12591259
"redirect_url": "/visualstudio/ide/class-designer/working-with-visual-cpp-code",
12601260
"redirect_document_id": false
12611261
},
1262+
{
1263+
"source_path": "docs/ide/how-to-disable-the-hosting-process.md",
1264+
"redirect_url": "/visualstudio/debugger/debugger-settings-and-preparation",
1265+
"redirect_document_id": false
1266+
},
1267+
{
1268+
"source_path": "docs/ide/hosting-process-vshost-exe.md",
1269+
"redirect_url": "/visualstudio/debugger/debugger-settings-and-preparation",
1270+
"redirect_document_id": false
1271+
},
12621272
{
12631273
"source_path": "docs/ide/reference/project-and-solution-file-types.md",
12641274
"redirect_url": "/visualstudio/ide/solutions-and-projects-in-visual-studio",

docs/debugger/debugging-and-the-hosting-process.md

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,36 @@ ms.custom: ""
44
ms.date: "11/04/2016"
55
ms.technology: "vs-ide-debug"
66
ms.topic: "conceptual"
7-
dev_langs:
7+
dev_langs:
88
- "CSharp"
99
- "VB"
1010
- "FSharp"
1111
- "C++"
12-
helpviewer_keywords:
12+
helpviewer_keywords:
1313
- "debugging [Visual Studio], hosting process"
1414
- "hosting process"
1515
ms.assetid: d0f0b9a6-2a6e-463d-b6ea-9518ee727933
1616
author: "mikejo5000"
1717
ms.author: "mikejo"
1818
manager: douge
19-
ms.workload:
19+
ms.workload:
2020
- "multiple"
2121
---
2222
# Debugging and the Hosting Process
23-
The Visual Studio hosting process improves debugger performance and enables new debugger features, such as partial-trust debugging and design-time expression evaluation. You can disable the hosting process if you need to. For more information, see [How to: Disable the Hosting Process](../ide/how-to-disable-the-hosting-process.md). The following sections describe some differences between debugging with and without the hosting process.
24-
25-
## Partial-Trust Debugging and Click-Once Security
26-
Partial-trust debugging requires the hosting process. If you disable the hosting process, partial-trust debugging will not work even if partial-trust security is enabled on the **Security** page of **Project Properties**. For more information, see [How to: Disable the Hosting Process](../ide/how-to-disable-the-hosting-process.md) and [How to: Debug a Partial Trust Application](../debugger/how-to-debug-a-partial-trust-application.md).
27-
28-
## Design-Time Expression Evaluation
29-
Design-time expression always uses the hosting process. Disabling the hosting process in the **Project Properties** disables design-time expression evaluation for Class Library projects. For other project types, design-time expression evaluation is not disabled. Instead, Visual Studio starts the actual executable and uses it for design-time evaluation without the hosting process. This difference could produce different results.
30-
31-
## AppDomain.CurrentDomain.FriendlyName Differences
32-
`AppDomain.CurrentDomain.FriendlyName` returns different results depending on whether the hosting process is enabled. If you call `AppDomain.CurrentDomain.FriendlyName` with the hosting process enabled, it returns *app_name*`.vhost.exe`. If you call it the hosting process disabled, it returns *app_name*`.exe`.
33-
34-
## Assembly.GetCallingAssembly().FullName Differences
35-
`Assembly.GetCallingAssembly().FullName` returns different results depending on whether the hosting process is enabled. If you call `Assembly.GetCallingAssembly().FullName` with the hosting process enabled, it returns `mscorlib`. If you call `Assembly.GetCallingAssembly().FullName` with the hosting process disabled, it returns the application name.
36-
37-
## See Also
38-
[Hosting Process (vshost.exe)](../ide/hosting-process-vshost-exe.md)
39-
[How to: Debug a Partial Trust Application](../debugger/how-to-debug-a-partial-trust-application.md)
40-
[How to: Disable the Hosting Process](../ide/how-to-disable-the-hosting-process.md)
23+
The Visual Studio hosting process improves debugger performance and enables new debugger features, such as partial-trust debugging and design-time expression evaluation. You can disable the hosting process if you need to. The following sections describe some differences between debugging with and without the hosting process.
24+
25+
## Partial-Trust Debugging and Click-Once Security
26+
Partial-trust debugging requires the hosting process. If you disable the hosting process, partial-trust debugging will not work even if partial-trust security is enabled on the **Security** page of **Project Properties**. For more information, see [How to: Debug a Partial Trust Application](../debugger/how-to-debug-a-partial-trust-application.md).
27+
28+
## Design-Time Expression Evaluation
29+
Design-time expression always uses the hosting process. Disabling the hosting process in the **Project Properties** disables design-time expression evaluation for Class Library projects. For other project types, design-time expression evaluation is not disabled. Instead, Visual Studio starts the actual executable and uses it for design-time evaluation without the hosting process. This difference could produce different results.
30+
31+
## AppDomain.CurrentDomain.FriendlyName Differences
32+
`AppDomain.CurrentDomain.FriendlyName` returns different results depending on whether the hosting process is enabled. If you call `AppDomain.CurrentDomain.FriendlyName` with the hosting process enabled, it returns *app_name*`.vhost.exe`. If you call it the hosting process disabled, it returns *app_name*`.exe`.
33+
34+
## Assembly.GetCallingAssembly().FullName Differences
35+
`Assembly.GetCallingAssembly().FullName` returns different results depending on whether the hosting process is enabled. If you call `Assembly.GetCallingAssembly().FullName` with the hosting process enabled, it returns `mscorlib`. If you call `Assembly.GetCallingAssembly().FullName` with the hosting process disabled, it returns the application name.
36+
37+
## See also
38+
39+
- [How to: Debug a Partial Trust Application](../debugger/how-to-debug-a-partial-trust-application.md)

docs/ide/hosting-process-vshost-exe.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

docs/ide/how-to-disable-the-hosting-process.md

Lines changed: 0 additions & 44 deletions
This file was deleted.
4.19 KB
Loading
Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Advanced Security Settings Dialog Box
3-
ms.date: 11/04/2016
3+
ms.date: 06/27/2018
44
ms.prod: visual-studio-dev15
55
ms.technology: vs-ide-general
66
ms.topic: reference
@@ -15,25 +15,24 @@ manager: douge
1515
ms.workload:
1616
- "multiple"
1717
---
18-
# Advanced Security Settings Dialog Box
18+
# Advanced Security Settings dialog box
19+
1920
This dialog box allows you to specify security settings related to debugging in zone.
2021

21-
To access this dialog box, select a project node in **Solution Explorer**, and then, on the **Project** menu, click **Properties**. When the **Project Designer** appears, click the **Security** tab. On the **Security** page, select **Enable ClickOnce Security Settings**, click **This is a partial trust application**, and then click **Advanced**.
22+
![Advanced Security Settings dialog box in Visual Studio](../media/advanced-security-settings.png)
23+
24+
To access this dialog box, select a project node in **Solution Explorer**, and then, on the **Project** menu, click **Properties**. When the **Project Designer** appears, click the **Security** tab. On the **Security** page, select **Enable ClickOnce Security Settings**, click **This is a partial trust application**, and then click **Advanced**.
2225

23-
## UIElement List
24-
**Debug this application with the selected permission set**
25-
If you select this check box, the permission set selected on the **Security** page is used during debugging. By default, this option is selected.
26+
## UIElement list
2627

27-
For debugging in a security zone to work, this option must be enabled; also, the **Enable the Visual Studio hosting process** option (available on the **Debug** page of the **Project Designer**) must be enabled.
28+
**Grant the application access to its site of origin**
2829

29-
For WPF Web Browser Application projects, the **Debug this application with the selected permission set** option is checked and disabled.
30+
If you select this check box, the application can access the Web site or server share on which it is published. By default, this option is selected.
3031

31-
**Grant the application access to its site of origin**
32-
If you select this check box, the application can access the Web site or server share on which it is published. By default, this option is selected.
32+
**Debug this application as if it were downloaded from the following URL**
3333

34-
**Debug this application as if it were downloaded from the following URL**
35-
If you have to allow the application to access the Web site or server share corresponding to the **Installation URL** you specified on the **Publish** page, type that URL here. This option is available only when **Grant the application access to its site of origin** is selected.
34+
If you have to allow the application to access the Web site or server share corresponding to the **Installation URL** you specified on the **Publish** page, enter that URL here. This option is available only when **Grant the application access to its site of origin** is selected.
3635

37-
## See Also
36+
## See also
3837

3938
- [Security Page, Project Designer](../../ide/reference/security-page-project-designer.md)

docs/ide/reference/debug-page-project-designer.md

Lines changed: 31 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Debug Page, Project Designer
3-
ms.date: 11/04/2016
3+
ms.date: 06/27/2018
44
ms.prod: visual-studio-dev15
55
ms.technology: vs-ide-general
66
ms.topic: reference
@@ -18,66 +18,64 @@ ms.workload:
1818
---
1919
# Debug Page, Project Designer
2020

21-
> [!NOTE]
22-
> This topic does not apply to UWP apps. See [Start a debug session (VB, C#, C++ and XAML)](../../debugger/start-a-debugging-session-for-a-store-app-in-visual-studio-vb-csharp-cpp-and-xaml.md) in the Windows Dev Center.
21+
Use the **Debug** page of the **Project Designer** to set properties for debugging behavior in a Visual Basic or C# project.
2322

24-
Use the **Debug** page of the **Project Designer** to set properties for debugging behavior in a Visual Basic or C# project.
23+
To access the **Debug** page, select a project node in **Solution Explorer**. On the **Project** menu, choose **\<ProjectName> Properties**. When the **Project Designer** appears, click the **Debug** tab.
2524

26-
To access the **Debug** page, select a project node in **Solution Explorer**. On the **Project** menu, choose *ProjectName***Properties**. When the **Project Designer** appears, click the **Debug** tab.
25+
> [!NOTE]
26+
> This topic does not apply to UWP apps. See [Start a debug session (VB, C#, C++ and XAML)](../../debugger/start-a-debugging-session-for-a-store-app-in-visual-studio-vb-csharp-cpp-and-xaml.md) for UWP apps.
2727
2828
## Configuration and Platform
29-
The following options allow you to select the configuration and platform to display or modify.
3029

31-
**Configuration**
30+
The following options allow you to select the configuration and platform to display or modify.
31+
32+
**Configuration**
3233

33-
Specifies which configuration settings to display or modify. The settings can be **Debug** (default), **Release**, or **All Configurations**.
34+
Specifies which configuration settings to display or modify. The settings can be **Debug** (default), **Release**, or **All Configurations**.
3435

35-
**Platform**
36+
**Platform**
3637

37-
Specifies which platform settings to display or modify. The choices can include **Any CPU** (default), **x64**, and **x86**.
38+
Specifies which platform settings to display or modify. The choices can include **Any CPU** (default), **x64**, and **x86**.
3839

39-
## Start Action
40-
**Start Action** indicates the item to start when the application is debugged: the project, a custom program, a URL, or nothing. By default, this option is set to **Start project**. The **Start Action** setting on the **Debug** page determines the value of the `StartAction` property.
40+
## Start action
4141

42-
**Start project**
42+
**Start action** indicates the item to start when the application is debugged: the project, a custom program, a URL, or nothing. By default, this option is set to **Start project**. The **Start Action** setting on the **Debug** page determines the value of the `StartAction` property.
4343

44-
Choose this option to specify that the executable (for Windows Application and Console Application projects) should be started when the application is debugged. This option is selected by default.
44+
**Start project**
4545

46-
**Start external program**
46+
Choose this option to specify that the executable (for Windows Application and Console Application projects) should be started when the application is debugged. This option is selected by default.
4747

48-
Choose this option to specify that a specific program should be started when the application is debugged.
48+
**Start external program**
4949

50-
**Start browser with URL**
50+
Choose this option to specify that a specific program should be started when the application is debugged.
5151

52-
Choose this option to specify that a particular URL should be accessed when the application is debugged.
52+
**Start browser with URL**
5353

54-
## Start Options
55-
**Command line arguments**
54+
Choose this option to specify that a particular URL should be accessed when the application is debugged.
5655

57-
In this text box, enter the command-line arguments to use for debugging.
56+
## Start options
5857

59-
**Working directory**
58+
**Command line arguments**
6059

61-
In this text box, enter the directory from which the project will be launched. Or click the Browse button (**...**) to choose a directory.
60+
In this text box, enter the command-line arguments to use for debugging.
6261

63-
**Use remote machine**
62+
**Working directory**
6463

65-
To debug the application from a remote computer, select this check box, and enter the path to the remote computer in the text box.
64+
In this text box, enter the directory from which the project will be launched. Or click the Browse button (**...**) to choose a directory.
6665

67-
## Enable Debuggers
68-
**Enable unmanaged code debugging**
66+
**Use remote machine**
6967

70-
This option specifies whether debugging of native code is supported. Select this check box if you are making calls to COM objects or if you start a custom program written in native code that calls your project and you must debug the native code. Clear this check box to disable debugging of unmanaged code. This check box is cleared by default.
68+
To debug the application from a remote computer, select this check box, and enter the path to the remote computer in the text box.
7169

72-
**Enable SQL Server debugging**
70+
## Debugger engines
7371

74-
Select or clear this check box to enable or disable debugging of SQL procedures from your Visual Basic application. This check box is cleared by default.
72+
**Enable native code debugging**
7573

76-
**Enable the Visual Studio hosting process**
74+
This option specifies whether debugging of native code is supported. Select this check box if you are making calls to COM objects or if you start a custom program written in native code that calls your project and you must debug the native code. Clear this check box to disable debugging of unmanaged code. This check box is cleared by default.
7775

78-
Select this check box to enable the Visual Studio hosting process. This check box is selected by default. For more information, see [Hosting Process (vshost.exe)](../../ide/hosting-process-vshost-exe.md).
76+
**Enable SQL Server debugging**
7977

80-
To debug in a security zone, you must enable this option and **Debug this application with the selected permission set** in the [Advanced Security Settings Dialog Box](../../ide/reference/advanced-security-settings-dialog-box.md).
78+
Select or clear this check box to enable or disable debugging of SQL procedures from your Visual Basic application. This check box is cleared by default.
8179

8280
## See also
8381

docs/toc.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -602,11 +602,6 @@
602602
href: ide/how-to-specify-build-events-csharp.md
603603
- name: Configuring Warnings in Visual Basic
604604
href: ide/configuring-warnings-in-visual-basic.md
605-
- name: Disable the Hosting Process
606-
href: ide/how-to-disable-the-hosting-process.md
607-
items:
608-
- name: Hosting Process (vshost.exe)
609-
href: ide/hosting-process-vshost-exe.md
610605
- name: "Walkthrough: Create a Multiple-Computer Build Environment"
611606
href: ide/walkthrough-creating-a-multiple-computer-build-environment.md
612607
- name: Debug...

0 commit comments

Comments
 (0)