下面的代码有一个奇怪的问题:
<Page
x:Class="FuckNumberBox.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:FuckNumberBox"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid>
<NumberBox x:Name="BeginNumberBox"
Header="Enter an integer:"
Value="1"
SpinButtonPlacementMode="Compact"
SmallChange="10"
LargeChange="100"/>
</Grid>
</Page>
Run Code Online (Sandbox Code Playgroud)
创建项目后,没有进行任何更改,直到我添加了<NumberBox>. 会出现三个编译错误:
我尝试更新 NuGet 包:
但错误仍然在这里。
我该如何修复这个问题?
我真的需要一些帮助:/
开发环境:
集成开发环境:Visual Studio 2019
UWP 项目目标版本:Windows 10,版本 1903(10.0;Build 18362)
UWP 项目最低版本:Windows 10,版本 1903(10.0;Build 18362)