Hello!
I'm trying the TreeViewDataBinding sample. Unfortunately it throws a BamlParseException having the Message "Type reference cannot find public Type named 'WorldEnglishNewspapers'.".
Do some of you know how to overcome that, please
Best regards,
Henrik Dahl

Type reference cannot find public Type named
eduboys
Thanks Henrik, now it works fine.
Eric
KevinUT
What is the new way for Mapping processing instruction
Richard
maxima
Changing for the way xml monikers are assigned for clr namespaces in the February CTP and rebuilding the solution fixed the problem.
Best regards,
Henrik Dahl
nrb1955
Hello,
I have February CTP and trying to run some samples from msdn magazine Jan 2006 "Top Ten UI Development Breakthroughs In Windows Presentation Foundation". I'm interested in using data type driven templates for UI elements. It should be possible to define such a template as ressource for re-using.
Window1.xaml:
< Mapping XmlNamespace="local" ClrNamespace="WindowsApplication1" >
<Window x:Class="WindowsApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="local"
Title="WindowsApplication1"
Loaded="WindowLoaded">
<Window.Resources>
<DataTemplate DataType="{x:Type local:Person}">
<StackPanel Orientation="Horizontal">
<TextBlock FontWeight="Bold">Name:</TextBlock>
<TextBlock Text="{Binding Name}" Margin="2,0,10,0" />
etc....
Window1.xaml.cs:
namespace WindowsApplication1
{
/// <summary>
/// Interaction logic for Window1.xaml
/// </summary>
public class Person
{
private string m_name;
private DateTime m_dateOfBirth;
etc....
My problem, on runtime a exception occur: "Type reference cannot find public Type named 'Person'."
I' wondering about this. Is person not public or why it is not found Or has syntax changed
Best regards,
Eric
Ratul Saikia
As I did above you should probably just replace the Mapping processing instruction with the new way of doing that and rebuild the project.
Best regards
Henrik Dahl