0
我有一個WPF應用程序,從嵌入式資源加載的FlowDocument,用下面的代碼命名空間的問題,同時加載XAML動態
object something = XamlReader.Load(stream);
解析器告訴我他不能找到「CLR的命名空間:ReportPrinter」在
<FlowDocument
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:c="clr-namespace:ReportPrinter"
>
與谷歌快速搜索告訴我,我需要指定程序集,但我怎麼能做到這一點?