首页 > 解决方案 > 未找到“标签”类型

问题描述

我正在学习 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#xamlxamarinuno

解决方案


推荐阅读