If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Mapping CLR namespace to custom class problem

I'm just starting with WPF so this is a very basic question.
I try to map XAML namespace to my custom class which is in the same assembly as my window. I however receive the error: "Undefined CLR namespace. The 'clr-namespace' URI refers to a namespace 'myNamespace' that is not included in the assembly."

Namespace myNamespace
Public Class Person
Private _name As String = "[Insert the name here...]"
Public Property Name() As String
Get
Return _name
End Get
Set(ByVal value As String)
_name = value
End Set
End Property
Private _age As Integer = 30
Public Property Age As Integer
Get
Return _age
End Get
Set(ByVal value As Integer)
_age = value
End Set
End Property
Public Sub New()
End Sub
End Class
End Namespace