Error - "Pivot"命名空间“Windows phone 8.1”中不存在

本文关键字:quot phone 不存在 Pivot 命名空间 Error Windows | 更新日期: 2023-09-27 17:52:51

我是Windows手机开发的新手。最近我在做一个项目。我有一些使用枢轴的代码。但是它显示

错误提示:

名称"Pivot"在命名空间"http://schemas.microsoft.com/winfx/2006/xaml/presentation"中不存在

如何解决?

Error - "Pivot"命名空间“Windows phone 8.1”中不存在

您尝试过像这样添加枢轴吗?

<Controls:Pivot>
</Controls:Pivot>

如果您在开发Windows UWP应用程序8.1版本时遇到此错误-请记住:Windows 8.1没有Pivot控件。只有Windows Phone 8.1有Pivot控制。因此,当VS正在构建Windows 8.1部分的UWP应用程序时出现错误。