I am getting an exception on this line var page = FreshPageModelResolver.ResolvePageModel();
telling me with that
System.Exception: myAppplication.TestPage, myAppplication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null not found
here is how my code looks like. I followed everything in this video tutorial
Can anybody help me on this?
public App()
{
LoadBasicNav();
}
public void LoadBasicNav()
{
var page = FreshPageModelResolver.ResolvePageModel<TestPageModel>();
var basicNavContainer = new FreshNavigationContainer(page);
MainPage = basicNavContainer;
}
namespace myApplication
{
public class TestPageModel : FreshBasePageModel
{
public TestPageModel()
{ }
public override void Init(object initData)
{
base.Init(initData);
}
}
}
namespace myApplication
{
public partial class Test: ContentPage
{
public Workouts()
{
InitializeComponent();
}
}
}