频繁报错,快气炸了
wpf吧
全部回复
仅看楼主
level 5
<UserControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:test"
x:Class="test.CardControl"
mc:Ignorable="d"
d:DesignHeight="154" d:DesignWidth="100" x:Name="UserControl">
<UserControl.Resources>
<local:RankNameConverter x:Key="ranConverter"/>
</UserControl.Resources>
错误 命名空间“clr-namespace:test”中不存在“RankNameConverter”名称。
2018年03月28日 14点03分 1
level 11
如果你是后期改的命名空间的话你应该在把后台代码文件里的命名空间也改了。
2018年04月01日 01点04分 2
1