Skip to content

Commit 875e253

Browse files
Merge pull request #11334 from MicrosoftDocs/main639137019899310292sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 1dc20cd + fedd46a commit 875e253

18 files changed

Lines changed: 27 additions & 26 deletions

docs/debugger/how-to-enable-and-disable-edit-and-continue.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Configure Hot Reload
33
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
55
ms.topic: how-to
66
dev_langs:
77
- CSharp
@@ -41,20 +41,21 @@ For native C++, Hot Reload requires using the `/INCREMENTAL` option. For more in
4141
4242
::: moniker-end
4343

44-
45-
::: moniker range=">=vs-2022"
46-
4744
## Enable and configure Hot Reload
4845

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"
4951
You can configure Hot Reload by selecting **Settings** from the **Hot Reload** dropdown button.
52+
::: moniker-end
5053

5154
![Screenshot of configuring Hot Reload.](../debugger/media/vs-2022/dotnet-hot-reload-configure.png)
5255

53-
::: moniker-end
54-
5556
:::moniker range="visualstudio"
5657

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:
5859

5960
- **Enable Hot Reload**: Use the Hot Reload feature with .NET and C++ code when your app is running with the debugger attached (**F5**).
6061

docs/vsto/deploying-a-vsto-solution-by-using-windows-installer.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Deploy a VSTO Solution with Windows Installer (Visual Studio)
33
description: Deploy a Microsoft Visual Studio Tools for Office (VSTO) add-in or document-level solution by using a Visual Studio Installer project.
44
titleSuffix: ""
5-
ms.date: "08/18/2010"
5+
ms.date: "04/29/2026"
66
ms.topic: install-set-up-deploy
77
dev_langs:
88
- "VB"
@@ -117,7 +117,7 @@ The first step is to create the setup project.
117117

118118
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.
119119

120-
![Screenshot of the File System Explorer for the setup project](media/setup-project-figure-1.png)
120+
![Screenshot of the File System Explorer for the setup project.](media/visualstudio/setup-project-figure-1.png)
121121

122122
**Figure 1: File System Explorer for the setup project**
123123

@@ -141,7 +141,7 @@ The setup project needs to deploy the deployment manifest and application manife
141141
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.
142142
3. Select the **ExcelAddIn.vsto** and **ExcelAddIn.dll.manifest** files and click **Open** to add these two files to the setup project.
143143

144-
![Screenshot of the Application and deployment manifests in Solution Explorer](media/setup-project-figure-3.jpg)
144+
![Screenshot of the application and deployment manifests in Solution Explorer.](media/visualstudio/setup-project-figure-3.png)
145145

146146
**Figure 3: Application and deployment manifests for the Add-in in Solution Explorer**
147147

@@ -153,7 +153,7 @@ Referencing the ExcelAddIn includes all the components that ExcelAddIn requires.
153153
2. Right-click the group and select **Properties**.
154154
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.
155155

156-
![Screenshot of Solution Explorer showing the dependencies to exclude](media/setup-project-figure-4.jpg)
156+
![Screenshot that shows the dependencies to exclude in Solution Explorer.](media/visualstudio/setup-project-figure-4.png)
157157

158158
**Figure 4: Excluding dependencies**
159159

@@ -171,7 +171,7 @@ To configure dependent components as prerequisites
171171
3. Click the **Prerequisites** button.
172172
4. In the Prerequisites dialog box, select the correct version of the .NET Framework and the Microsoft Visual Studio Tools for Office Runtime.
173173

174-
![Screenshot of the Prerequisites Dialog Box](media/setup-project-figure-5.png)
174+
![Screenshot of the Prerequisites dialog.](media/visualstudio/setup-project-figure-5.png)
175175

176176
**Figure 5: Prerequisites Dialog Box**
177177

@@ -208,12 +208,12 @@ Microsoft Office locates Add-ins by using registry keys. The keys in the HKEY\_C
208208

209209
15. Select the **Manifest** key in the registry editor. In the **Properties Window**, change the **Value** property to **file:///[TARGETDIR]ExcelAddIn.vsto|vstolocal**
210210

211-
![Screenshot of the Registry Editor](media/setup-project-figure-6.png)
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":::
212212

213213
**Figure 6: Setting up registry keys**
214214

215215
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.
217217

218218
>[!WARNING]
219219
>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
225225

226226
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.
227227

228-
![Screenshot of the Properties Window showing the Target Platform for registering Add-ins with 64-bit Office](media/setup-project-figure-7.jpg)
228+
![Screenshot of the Properties window that shows the target platform for registering add-ins with 64-bit Office.](media/visualstudio/setup-project-figure-7.png)
229229

230230
**Figure 7: Target Platform for registering Add-ins with 64-bit Office**
231231

@@ -253,7 +253,7 @@ If the MSI package is used to install the Add-in or solution, it may install wit
253253
3. Leave the **InstallURL** property blank.
254254
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**.
255255

256-
![Screenshot of the Properties Window for the Verify Runtime Availability launch condition](media/setup-project-figure-8.jpg)
256+
![Screenshot of the Properties window for the Verify Runtime Availability launch condition.](media/visualstudio/setup-project-figure-8.png)
257257

258258
**Figure 8: Properties Window for the Verify Runtime Availability launch condition**
259259

@@ -274,7 +274,7 @@ If the MSI package is used to install the Add-in or solution, it may install wit
274274

275275
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.
276276

277-
![Screenshot of the Properties Windows for the launch condition](media/setup-project-figure-9.jpg)
277+
![Screenshot of the Properties window for the launch condition.](media/visualstudio/setup-project-figure-9.png)
278278

279279
**Figure 9: Properties Windows for the Verify Runtime Availability through Redist or Office launch condition**
280280

@@ -310,7 +310,7 @@ For more information, see [Type Equivalence and Embedded Interop Types](/dotnet/
310310
3. Leave **InstallUrl** blank.
311311
4. Change the **Message** to **A required component for interacting with Excel is not available. Please run setup.exe**.
312312

313-
![Screenshot of the Properties Window for the Verify Office Shared PIA launch condition](media/setup-project-figure-10.jpg)
313+
![Screenshot of the Properties Window for the Verify Office Shared PIA launch condition.](media/visualstudio/setup-project-figure-10.png)
314314

315315
**Figure 10: Properties Window for the Verify Office Shared PIA launch condition**
316316

@@ -330,7 +330,7 @@ For more information, see [Type Equivalence and Embedded Interop Types](/dotnet/
330330
|Office Shared|{64E2917E-AA13-4CA4-BFFE-EA6EDA3AFCB4}|{6A174BDB-0049-4D1C-86EF-3114CB0C4C4E}|{76601EBB-44A7-49EE-8DE3-7B7B9D7EBB05}|{68477CB0-662A-48FB-AF2E-9573C92869F7}|{625F5772-C1B3-497E-8ABE-7254EDB00506}|
331331
|Project|{957A4EC0-E67B-4E86-A383-6AF7270B216A}|{1C50E422-24FA-44A9-A120-E88280C8C341}|{706D7F44-8231-489D-9B25-3025ADE9F114}|{0B6EDA1D-4A15-4F88-8B20-EA6528978E4E}|{107BCD9A-F1DC-4004-A444-33706FC10058}|
332332

333-
![Screenshot of the Final launch conditions](media/setup-project-figure-11.jpg)
333+
![Screenshot of the final launch conditions.](media/visualstudio/setup-project-figure-11.png)
334334

335335
**Figure 11: Final launch conditions**
336336

@@ -380,7 +380,7 @@ To add the custom action project to your Visual Studio solution
380380
2. Expand **Add** and click **New Project**.
381381
3. Select the Console App template and name the project **AddCustomizationCustomAction**.
382382

383-
![Screenshot of the Solution Explorer - AddCustomizationCustomAction](media/setup-project-figure-15.jpg)
383+
![Screenshot of AddCustomizationCustomAction in Solution Explorer.](media/visualstudio/setup-project-figure-15.png)
384384

385385
**Figure 12: Solution Explorer - AddCustomizationCustomAction**
386386

@@ -498,15 +498,15 @@ To retrieve the solution ID
498498
2. In the **Solution Explorer**, right-click the document-level project **ExcelWorkbookProject**
499499
3. Click **UnloadProject** to access the project file from inside Visual Studio.
500500

501-
![Screenshot of Solution Explorer Unloading Excel Document Solution](media/setup-project-figure-16.jpg)
501+
![Screenshot of the unloaded Excel project in Solution Explorer.](media/visualstudio/setup-project-figure-16.png)
502502

503503
**Figure 13: Unloading Excel Document Solution**
504504

505505
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.
507507
6. Copy the GUID value of this element.
508508

509-
![Retrieving the SolutionID](media/setup-project-figure-17.jpg)
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":::
510510

511511
**Figure 14: Retrieving the SolutionID**
512512

@@ -522,7 +522,7 @@ The last step is to configure the custom action for the **Install** and **Uninst
522522
2. In the **Add Project Output Group** dialog box, in the **Project** list, click **AddCustomizationCustomAction**.
523523
3. Select **Primary Output** and click **OK** to close the dialog box and add the assembly containing the custom action to the setup project.
524524

525-
![Screenshot of the Document Manifest Custom Action - Add Project Output Group window](media/setup-project-figure-18.jpg)
525+
![Screenshot of the Add Project Output Group window.](media/visualstudio/setup-project-figure-18.png)
526526

527527
**Figure 15: Document Manifest Custom Action - Add Project Output Group**
528528

@@ -533,7 +533,7 @@ The last step is to configure the custom action for the **Install** and **Uninst
533533
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**.
534534
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**.
535535

536-
![Screenshot of the Document Manifest Custom Actions window](media/setup-project-figure-19.jpg)
536+
![Screenshot of the Document Manifest Custom Actions window.](media/visualstudio/setup-project-figure-19.png)
537537

538538
**Figure 16: Document Manifest Custom Actions**
539539

@@ -545,7 +545,7 @@ s
545545
/assemblyLocation="[INSTALLDIR]ExcelWorkbookProject.dll" /deploymentManifestLocation="[INSTALLDIR]ExcelWorkbookProject.vsto" /documentLocation="[INSTALLDIR]ExcelWorkbookProject.xlsx" /solutionID="Your Solution ID" /LogFile="[TARGETDIR]Setup.log"
546546
```
547547

548-
![Screenshot of the Custom Action to Copy Document to My Documents Properties window](media/setup-project-figure-20.jpg)
548+
![Screenshot of the Copy document to My Documents properties window.](media/visualstudio/setup-project-figure-20.png)
549549

550550
**Figure 17: Custom Action to Copy Document to My Documents**
551551

34 KB
Loading
10.8 KB
Loading
36.1 KB
Loading
13.6 KB
Loading
13 KB
Loading
108 KB
Loading
11.7 KB
Loading
38.7 KB
Loading

0 commit comments

Comments
 (0)