I have an issue trying to create a custom MyBasePage that will deal with some key behavior for all pages of the app.
For that, I have created a class "MyBasePage" that inherits from "ContentPage" in the namespace "MyProject.Pages.Generic".
And I try to create a new page "TempPage" in XAML. I have set the designer page inherits from "MyBasePage" class, and the issue is in the XAML using the "local"namespace.
<?xml version="1.0" encoding="UTF-8"?> <local:MyBasePage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="MyProject.Pages.TempPage" xmlns:local="clr-namespace:MyProject.Pages.Generic;assembly=MyProject"> </local:MyBasePage>
The error is
Error executing task XamlG: Can't load types from xmlns clr-namespace:MyProject.Pages.Generic;assembly=MyProject
Do you have any idea of the issue?