類型「System.Windows.Markup.IUriContext」在未被引用的程序集中定義 解決辦法

錯誤 CS0012: 類型「System.Windows.Markup.IUriContext」在未被引用的程序集中定義。必須添加對程序集「System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089」的引用。io

 
解決方法:
添加引用——System.Xaml.dll (System.Xaml)
相關文章
相關標籤/搜索