c# - 未找到“标签”类型
问题描述
我正在学习 Uno/Xaml/Xamarin 并做一些基本的应用程序。在一个 StackPanel 中,我有一个标签。当我尝试编译时,出现以下错误:
未找到“标签”类型。确认您没有丢失程序集引用并且所有引用的程序集都已构建。
我通过正常的右键添加添加页面,并选择空白页面。这是页面的声明:
<Page
x:Class="TestApp.Page2"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:TestApp"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
Uno 不支持标签吗?我在这里想念什么?
解决方案
推荐阅读
- c# - asp.net core mvc 中的自定义路由和操作名称
- regex - 正则表达式:从数组单元中提取多个 URL 字符串
- javascript - 获取新创建的元素并分配 onClick 函数或添加点击事件
- gcloud - 获取值项目返回“未设置”
- mysql - 从多个表中获取记录,但每个 ID 只显示 1 条?
- swift - 努力将数据传递给 UI - Swift
- gatsby - 盖茨比错误:TypeError [ERR_INVALID_ARG_TYPE]
- java - 如何公开私有类的方法?
- scripting - 脚本暂停时更改托盘图标
- python - 如何从没有名称的类中获取文本?