【问题标题】:2006 xaml schemas no longer accessible2006 xaml 架构不再可访问
【发布时间】:2017-07-06 18:23:13
【问题描述】:

我目前正在使用 WPF 开发旧版应用程序。我从我们的 git 下载了它,但是在构建项目时出现以下错误。

The tag 'Ribbon' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation/ribbon'. 

The property 'KeyTipService.KeyTip' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'.

我尝试查找所描述的链接,但它们都以 404 失败 那我做错了什么?

【问题讨论】:

    标签: c# wpf xaml schema


    【解决方案1】:

    如果您的目标是 .NET Framework 4.5 或更高版本,则应添加对 System.Windows.Controls.Ribbon.dll 的引用。

    您将在 Visual Studio 中的 Project->Add Reference->Framework->Assemblies 下找到它。

    【讨论】:

      猜你喜欢
      • 2021-12-07
      • 1970-01-01
      • 1970-01-01
      • 2014-10-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-12-12
      相关资源
      最近更新 更多