XAML live preview can be disabled by going to the
Tools → Options... → Debugging → XAML Hot Reload
and unchecking the WPF (or other unneeded) option in Enable XAML Hot Reload section.