【发布时间】:2020-08-20 13:02:40
【问题描述】:
我从模板创建了新的 Uno Cross-Platform App 2.2。 当我在代码视图中打开 Shared->MainPage.xaml 时没有打开设计器时,出现带下划线的错误 “页面”类型不支持直接内容
<Page
x:Class="App6.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:App6"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<TextBlock Text="Hello, world!" Margin="20" FontSize="30" />
</Grid>
</Page>
【问题讨论】:
标签: uno-platform