2006年xaml架构不再可访问

时间:2017-07-06 09:40:49

标签: c# wpf xaml schema

我目前正在使用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 我做错了什么?

1 个答案:

答案 0 :(得分:1)

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

您可以在Project-> Add Reference-> Framework-> Visual Studio中的程序集下找到它。

相关问题