Rider를 주로 쓰고 있고 Visual Studio는 보조로 쓰고 있습니다. UI를 좀 디테일하게 건드려야 해서 클로드 코드로 못하고 한땀한땀 작업중인데요 .xaml은 hot reload가 지원이 잘 안되고 특히나 CustomControl 스타일로 작업 할 때 핫 리로드가 안되서 색상하나, 테두리 색 하나 바뀌는 것 확인 하려고 해도 ctrl + shift + f5로 다시 시작 하고 있습니다.
Rider는 잘 안된다고 하여 Visual Studio 2022로 해봤는데도 핫 리로드 적용을 못하고 있습니다.
xaml 작업시 Hot Reload 적용 할 방법이 있을까요?
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:units="clr-namespace:MV1000.Support.UI.Units">
<Style TargetType="{x:Type Border}" x:Key="GoldLine">
<Setter Property="Background" Value="#00070E"></Setter>
<Setter Property="BorderBrush" Value="#34291E"></Setter>
<Setter Property="BorderThickness" Value="1 1 1 1"></Setter>
</Style>
<Style TargetType="{x:Type units:PadButton}">
<Setter Property="Height" Value="38"></Setter>
<Setter Property="Width" Value="165"></Setter>
<Setter Property="Foreground" Value="#FFFFFF"></Setter>
<Setter Property="Background" Value="Transparent"></Setter>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type units:PadButton}">
<Grid Background="{TemplateBinding Background}">
<Border Style="{StaticResource GoldLine}" />
<TextBlock Text="{TemplateBinding Content}" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>
using System.Windows;
using System.Windows.Controls.Primitives;
namespace MV1000.Support.UI.Units;
public class PadButton : ToggleButton
{
static PadButton()
{
DefaultStyleKeyProperty.OverrideMetadata(typeof(PadButton),
new FrameworkPropertyMetadata(typeof(PadButton)));
}
}





