Skip to content

Commit 7a3aea5

Browse files
committed
Add info on availability of XAML Live Preview and XAML Hot Reload at design-time
1 parent 455e590 commit 7a3aea5

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

docs/xaml-tools/xaml-hot-reload.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "XAML Hot Reload for WPF and UWP apps"
33
description: Modify XAML code in running .NET MAUI, WinUI 3, Windows Presentation Foundation (WPF), or Universal Windows Platform (UWP) apps with edit and continue features in XAML Hot Reload.
4-
ms.date: 08/27/2024
4+
ms.date: 04/24/2025
55
ms.topic: conceptual
66
helpviewer_keywords:
77
- "xaml edit and continue"
@@ -23,7 +23,9 @@ With XAML Hot Reload, you can incrementally build and test XAML code for your .N
2323
2424
## Where to get XAML Hot Reload
2525

26-
Visual Studio XAML Hot Reload is currently supported only when you're running an application in **Visual Studio** -or- **Blend for Visual Studio** (if supported by the framework) with the debugger attached (**F5** or **Start debugging**).
26+
Visual Studio XAML Hot Reload is supported when you're running an application in **Visual Studio** -or- **Blend for Visual Studio** (if supported by the framework) with the debugger attached (**F5** or **Start debugging**).
27+
28+
Starting in Visual Studio 2022 version 17.14 Preview 2, XAML Hot Reload and [XAML Live Preview](../xaml-tools/xaml-live-preview.md) are available at design-time and not just during a debugging session.
2729

2830
You can't enable this experience by using [Attach to process](../debugger/attach-to-running-processes-with-the-visual-studio-debugger.md) unless you [manually set an environment variable](xaml-hot-reload-troubleshooting.md#verify-that-you-use-start-debugging-rather-than-attach-to-process).
2931

docs/xaml-tools/xaml-live-preview.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Capture & edit desktop app UI with XAML Live Preview
33
description: Pair XAML Live Preview with XAML Hot Reload to capture desktop app UI, make iterative changes in Visual Studio, and view your changes in real time.
4-
ms.date: 11/08/2021
4+
ms.date: 04/24/2025
55
ms.topic: conceptual
66
helpviewer_keywords:
77
- "xaml edit"
@@ -22,6 +22,8 @@ With XAML Live Preview, you can capture a desktop app's user interface (UI) and
2222

2323
The XAML Live Preview window is available during debugging. To open it, go to **Debug** > **Windows** > **XAML Live Preview**.
2424

25+
Starting in Visual Studio 2022 version 17.14 Preview 2, XAML Live Preview and [XAML Hot Reload](../xaml-tools/xaml-hot-reload.md) are available at design-time and not just during a debugging session.
26+
2527
:::image type="content" source="media/vs-2022/xaml-live-preview-menu.png" alt-text="Screenshot of the XAML Live Preview option from the Debug menu bar.":::
2628

2729
Or, select the **Show in XAML Live Preview** button in the application toolbar.

0 commit comments

Comments
 (0)