XML名称空间“http://schemas.microsoft.com/winfx/2006/xaml/presentation”中的未知类型“AppBarButton”

时间:2017-04-04 08:59:46

标签: xaml uwp

enter image description here

XML名称空间“http://schemas.microsoft.com/winfx/2006/xaml/presentation

中的未知类型“AppBarButton”

1 个答案:

答案 0 :(得分:0)

我无法通过UWP应用程序使用Visual Studio 2015和Visual Studio 2017重现错误。我猜您正在使用Visual Studio 2012并开发Windows 8应用程序。

如果在这种情况下,您可能需要使用Visual Studio 2013或更高版本并开发Windows 8.1或更高版本的应用程序。 Windows Phone 8似乎不支持AppBarButton。更多详情请参阅this thread

顺便说一句,您可能需要详细说明您想要问的问题。详情请参阅how to ask