ああ。 ok ...単に既存のノードの内部を移動します。エラーメッセージが表示されたら、既存のノードに名前を付けて2番目のノードを作成する必要があると思いました。
> <?xml version="1.0" encoding="utf-8"?> <Application
> x:Class="ValidationClient.App"
> xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
> xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
> xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
> xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
> xmlns:vm="clr-namespace:ValidationClient.ViewModel"
> mc:Ignorable="d"> <Application.Resources>
> <ResourceDictionary>
> <ResourceDictionary.MergedDictionaries>
> <ResourceDictionary Source="Assets/Styles.xaml" />
> </ResourceDictionary.MergedDictionaries> <vm:ViewModelLocator x:Key="Locator" d:IsDataSource="True" />
> </ResourceDictionary> </Application.Resources> </Application>