I'm building an app using Xamarin.Forms and while making a XAML page I get the following error:
The property "Class" does not exist in the "http://schemas.microsoft.com/winfx/2009/xaml" namespace.
This is not the first page I've made and all other pages seem to work fine except for this one. I've checked the references and the properties of said file and they all seem fine.
Here's my code:
<?xml version="1.0" encoding="utf-8" ?>
<controls:ViewPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="XXXX"
xmlns:controls="XXXX"
</controls:ViewPage>
The code behind is as follows:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XXXX;
using Xamarin.Forms;
namespace XXXX
{
public partial class ActOverviewView : ViewPage, IActOverviewView
{
public ActOverviewView()
{
InitializeComponent();
}
}
}
I'm using Visual Studio 2015
behind class
fromViewPage
? Put your behind code for this page, too. – Yehor Hromadskyixmlns:controls
namespace is wrong – Yehor Hromadskyi