How to solve the below error that appears in output window:
XamlC error XFC0000 : Cannot resolve type "Popup".
My code:
<xct:Popup xmlns:xct="http://xamarin.com/schemas/2020/toolkit"
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="SWD_Trening.NewEvent"
IsLightDismissEnabled="False"
Size="1000,600"/>
<StackLayout>
</StackLayout>
</xct:Popup>
you have to include the namespace where the popup is defined:
Xamarin Forms
Please take a look at the official documentation: Xamarin Forms communitytoolkit popup
MAUI
Please take a look at the official documentation: MAUI communitytoolkit popup