Visual Studio 2019 Xaml Hot Reload function introduction

Visual Studio 2019 provides the XAML Hot Reload function, which allows the XAML code to be modified after the WPF program is running and displayed in real time.

XAML Hot Reload function can also be used in Blend For Visual Studio 2019.

For .Net Framework WPF programs, only Visual Studio 2019 is required.

For .Net Core WPF programs, you need to install the Visual Studio 2019 version 16.3.0 update.

XAML Hot Reload is enabled by default, you can go to “Debug” -> “Options” -> “General” -> “Enable XAML UI Call Tool” -> “Enable XAML Hot Reload”< /strong>Turn it on or off

Share picture

The actual operating results are as follows

Share pictures

< h2 id="known-limitations">The current limitations of this feature are as follows

< tr>

Limitations

< p style="text-align: center;" align="left">Whether WPF is supported

Description

< p align="left">Link events to controls while the application is running

Not supported

reference resources in existing resource dictionary or add resource objects

Need to install Visual Studio 2019 Update 2

Does not support the creation of resource dictionary files

Add new controls, classes, windows or other files to the project while the application is running

not supported

Manage Nuget packages

Not supported

Change data binding

Not available (UWP Available)

Limitations

Whether WPF is supported

Instructions

In the application Link events to controls when the program is running

not supported

reference resources in existing resource dictionary or add resource objects

Need to install Visual Studio 2019 Update 2

The creation of resource dictionary files is not supported

Add new controls, classes, windows or other files to the project while the application is running

not supported

Manage Nuget packages

not supported

Change data binding

Not available (UWP available)< /p> < /td>

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1918 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.