You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/debugger/how-to-enable-and-disable-edit-and-continue.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Configure Hot Reload
3
3
description: Learn how to enable, disable, and configure Hot Reload (previously called Edit and Continue) in Visual Studio options at design time.
4
-
ms.date: 04/13/2026
4
+
ms.date: 05/05/2026
5
5
ms.topic: how-to
6
6
dev_langs:
7
7
- CSharp
@@ -41,20 +41,21 @@ For native C++, Hot Reload requires using the `/INCREMENTAL` option. For more in
41
41
42
42
::: moniker-end
43
43
44
-
45
-
::: moniker range=">=vs-2022"
46
-
47
44
## Enable and configure Hot Reload
48
45
46
+
::: moniker range="visualstudio"
47
+
You can view Hot Reload settings by selecting **Settings** from the **Hot Reload** dropdown button.
48
+
::: moniker-end
49
+
50
+
::: moniker range="vs-2022"
49
51
You can configure Hot Reload by selecting **Settings** from the **Hot Reload** dropdown button.
52
+
::: moniker-end
50
53
51
54

52
55
53
-
::: moniker-end
54
-
55
56
:::moniker range="visualstudio"
56
57
57
-
Or, open the **Tools** > **Options** pane and adjust the options in the **All Settings** > **Debugging** > **.NET/C++ Hot Reload** section. The following options are available:
58
+
To change the settings, stop debugging, then select **Tools** > **Options** and adjust the options in the **All Settings** > **Debugging** > **.NET/C++ Hot Reload** section. The following options are available:
58
59
59
60
-**Enable Hot Reload**: Use the Hot Reload feature with .NET and C++ code when your app is running with the debugger attached (**F5**).
Copy file name to clipboardExpand all lines: docs/vsto/deploying-a-vsto-solution-by-using-windows-installer.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Deploy a VSTO Solution with Windows Installer (Visual Studio)
3
3
description: Deploy a Microsoft Visual Studio Tools for Office (VSTO) add-in or document-level solution by using a Visual Studio Installer project.
4
4
titleSuffix: ""
5
-
ms.date: "08/18/2010"
5
+
ms.date: "04/29/2026"
6
6
ms.topic: install-set-up-deploy
7
7
dev_langs:
8
8
- "VB"
@@ -117,7 +117,7 @@ The first step is to create the setup project.
117
117
118
118
Visual Studio opens the File System Explorer for the new setup project. The File System Explorer allows you to add files to the setup project.
119
119
120
-

120
+

121
121
122
122
**Figure 1: File System Explorer for the setup project**
123
123
@@ -141,7 +141,7 @@ The setup project needs to deploy the deployment manifest and application manife
141
141
2. In the **Add Files** dialog box, navigate to the **ExcelAddIn** output directory. Usually the output directory is the **bin\\release** subfolder of the project root directory, depending on the selected build configuration.
142
142
3. Select the **ExcelAddIn.vsto** and **ExcelAddIn.dll.manifest** files and click **Open** to add these two files to the setup project.
143
143
144
-

144
+

145
145
146
146
**Figure 3: Application and deployment manifests for the Add-in in Solution Explorer**
147
147
@@ -153,7 +153,7 @@ Referencing the ExcelAddIn includes all the components that ExcelAddIn requires.
153
153
2. Right-click the group and select **Properties**.
154
154
3. In the **Properties** window, change the **Exclude** property to **True** to exclude the dependent assemblies from the setup project. Make sure to not exclude any Utilities assemblies.
155
155
156
-

156
+

157
157
158
158
**Figure 4: Excluding dependencies**
159
159
@@ -171,7 +171,7 @@ To configure dependent components as prerequisites
171
171
3. Click the **Prerequisites** button.
172
172
4. In the Prerequisites dialog box, select the correct version of the .NET Framework and the Microsoft Visual Studio Tools for Office Runtime.
173
173
174
-

174
+

175
175
176
176
**Figure 5: Prerequisites Dialog Box**
177
177
@@ -208,12 +208,12 @@ Microsoft Office locates Add-ins by using registry keys. The keys in the HKEY\_C
208
208
209
209
15. Select the **Manifest** key in the registry editor. In the **Properties Window**, change the **Value** property to **file:///[TARGETDIR]ExcelAddIn.vsto|vstolocal**
210
210
211
-

211
+
:::image type="content" source="media/visualstudio/setup-project-figure-6.png" alt-text="Screenshot of the Registry Editor." lightbox="media/visualstudio/setup-project-figure-6.png":::
212
212
213
213
**Figure 6: Setting up registry keys**
214
214
215
215
The VSTO runtime uses this registry key to locate the deployment manifest. The [TARGETDIR] macro will be replaced with the folder where the add-in is installed to. The macro will include the trailing \ character, so the filename of the deployment manifest should be ExcelAddIn.vsto without the \ character.
216
-
The **vstolocal** postfix, tells the VSTO runtime that the Add-in should load from this location instead of the ClickOnce cache. Removing this postfix will cause the runtime to copy the customization into the ClickOnce cache.
216
+
The **vstolocal** postfix tells the VSTO runtime that the Add-in should load from this location instead of the ClickOnce cache. Removing this postfix will cause the runtime to copy the customization into the ClickOnce cache.
217
217
218
218
>[!WARNING]
219
219
>You should be very careful with the Registry Editor in Visual Studio. For example, if you accidentally set DeleteAtUninstall for the wrong key, you might delete an active part of the registry, leaving the user computer in an inconsistent, or even worse, broken state.
@@ -225,7 +225,7 @@ Microsoft Office locates Add-ins by using registry keys. The keys in the HKEY\_C
225
225
226
226
Installing an Add-in for both 32-bit and 64-bit versions of Office, will require you to create two separate MSI packages. One for 32-bit and one for 64-bit.
227
227
228
-

228
+

229
229
230
230
**Figure 7: Target Platform for registering Add-ins with 64-bit Office**
231
231
@@ -253,7 +253,7 @@ If the MSI package is used to install the Add-in or solution, it may install wit
253
253
3. Leave the **InstallURL** property blank.
254
254
4. Set the **Message** to **The Visual Studio 2010 Tools for Office Runtime is not installed. Please run Setup.exe to install the Add-in**.
255
255
256
-

256
+

257
257
258
258
**Figure 8: Properties Window for the Verify Runtime Availability launch condition**
259
259
@@ -274,7 +274,7 @@ If the MSI package is used to install the Add-in or solution, it may install wit
274
274
275
275
5. Change the value of the **Condition** property to **VSTORUNTIMEREDIST \>="10.0.30319" OR OFFICERUNTIME\>="10.0.21022"**. The version numbers maybe different for you depending on the versions of the runtime that your Add-in requires.
276
276
277
-

277
+

278
278
279
279
**Figure 9: Properties Windows for the Verify Runtime Availability through Redist or Office launch condition**
280
280
@@ -310,7 +310,7 @@ For more information, see [Type Equivalence and Embedded Interop Types](/dotnet/
310
310
3. Leave **InstallUrl** blank.
311
311
4. Change the **Message** to **A required component for interacting with Excel is not available. Please run setup.exe**.
312
312
313
-

313
+

314
314
315
315
**Figure 10: Properties Window for the Verify Office Shared PIA launch condition**
316
316
@@ -330,7 +330,7 @@ For more information, see [Type Equivalence and Embedded Interop Types](/dotnet/

333
+

334
334
335
335
**Figure 11: Final launch conditions**
336
336
@@ -380,7 +380,7 @@ To add the custom action project to your Visual Studio solution
380
380
2. Expand **Add** and click **New Project**.
381
381
3. Select the Console App template and name the project **AddCustomizationCustomAction**.
382
382
383
-

383
+

384
384
385
385
**Figure 12: Solution Explorer - AddCustomizationCustomAction**
386
386
@@ -498,15 +498,15 @@ To retrieve the solution ID
498
498
2. In the **Solution Explorer**, right-click the document-level project **ExcelWorkbookProject**
499
499
3. Click **UnloadProject** to access the project file from inside Visual Studio.
500
500
501
-

501
+

502
502
503
503
**Figure 13: Unloading Excel Document Solution**
504
504
505
505
4. In the **Solution Explorer**, right-click **ExcelWorkbookProject** and click **EditExcelWorkbookProject.vbproj** or **Edit ExcelWorkbookProject.csproj**.
506
-
5. In the **ExcelWorkbookProject** editor, locate the **SolutionID** element inside the **PropertyGroup** element.
506
+
5. In the **ExcelWorkbookProject** editor, locate the **ProjectGuid** element in the **PropertyGroup** element. The solution ID is typically the same as this project GUID. You can also use .NET Reflector or PowerShell to get the solution ID by inspecting the assembly.
507
507
6. Copy the GUID value of this element.
508
508
509
-

509
+
:::image type="content" source="media/visualstudio/setup-project-figure-17.png" alt-text="Screenshot that shows the ProjectGuid element in the PropertyGroup element." lightbox="media/visualstudio/setup-project-figure-17.png":::
510
510
511
511
**Figure 14: Retrieving the SolutionID**
512
512
@@ -522,7 +522,7 @@ The last step is to configure the custom action for the **Install** and **Uninst
522
522
2. In the **Add Project Output Group** dialog box, in the **Project** list, click **AddCustomizationCustomAction**.
523
523
3. Select **Primary Output** and click **OK** to close the dialog box and add the assembly containing the custom action to the setup project.
524
524
525
-

525
+

@@ -533,7 +533,7 @@ The last step is to configure the custom action for the **Install** and **Uninst
533
533
8. Under the **Install node**, right-click **Primary output from AddCustomizationCustomAction(Active)**, and click **Rename**. Name the custom action **Copy document to My Documents and attach customization**.
534
534
9. Under the **Uninstall node**, right-click **Primary output from AddCustomizationCustomAction(Active)** and click **Rename**. Name the custom action **Remove document from the Documents folder**.
535
535
536
-

536
+

0 commit comments