当WPF中xaml与相应的cs文件没有关联时,在csproj文件中修改配置
<Compile Include="xxxxxx\xxx.xaml.cs"> <DependentUpon>xxx.xaml</DependentUpon> </Compile>
posted on 2020-04-07 10:30 鬼火小先生 阅读(648) 评论(0) 编辑 收藏 举报