Ho questo codice e mi viene questo errore, come posso risolvere questo?L'oggetto di tipo 'System.String' non può essere convertito in tipo 'Xamarin.Forms.View'
L'oggetto di tipo "System.String" non può essere convertito in tipo "Xamarin.Forms.View".
Xaml:
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Project1.Page1">
<ContentPage.Content>
<StackLayout>
<Label Text="Text"></Label>
Some text here
<Editor Text="I am an Editor" />
</StackLayout>
</ContentPage.Content>
</ContentPage>
prega mostra il tuo XAML –
Okey aggiornato d. –
Stai ereditando da ContentPage sul tuo Page1.xaml.cs? –