2017-07-06 43 views
0

我目前正在使用WPF的遺留應用程序。我從我們的git下載它,但是在構建項目時我收到以下錯誤。2006 xaml架構不再可訪問

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

如果您的目標是.NET Framework 4.5或更高版本,則應該添加對System.Windows.Controls.Ribbon.dll的引用。

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