发生 XamlParseException 在“System.Windows.BAML.2006.TypeConverterMarkupExtension”上提供值引发异常
我查找了如何添加图标的示例,看起来很简单。我怎样才能解决这个问题?
<Window
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" mc:Ignorable="d" x:Class="DTV_Red_Zone_Channel.MainWindow"
Title="DirecTV Red Zone Channel" WindowStartupLocation="CenterScreen" WindowStyle="None" ResizeMode="NoResize"
Initialized="WindowInitialized" SizeToContent="WidthAndHeight"
Icon="RCS_Generic.ico"> <---- Where it's Erroring