لدي مشروع Xamarin.Forms.
في هذا المشروع ، كان لدي بالفعل صفحة فارغة ، لكني أضفت صفحة جديدة ، عندما بدأ ظهور الخطأ.
الأخطاء التي تظهر هي:
Error XLS0414
The type 'ContentPage' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.
TaskX.Android New.xaml
1
Error XLS0414 The type 'StackLayout' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.
TaskX.Android New.xaml
10
تعديل
هذا هو الرمز:
<ContentPage>
x:Class="TaskX.New"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:TaskX"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
<StackLayout>
</StackLayout>
</ContentPage>