yohann

yohann

  • NA
  • 14
  • 0

xmlns assembly not found in xaml document !

Sep 19 2008 3:59 AM
Hye everybody,

I have a problem with using an assembly within an xaml document. I have 2 project. Project 1 refers to the project 2.
In the project 1, my application project, i have a window. There is no problem when i'm using the reference in the window.cs by adding a "using project2Assembly;". I can access the object belong to the project 2 assembly.
The probleme is that I want to use object of this assembly in my xaml document window1.xaml. To do that I put the xaml parse below:
<xmlns:lib="clr-namespace:myNamespace;assembly=project2Assembly">
Names of the namespace and assembly are right. BUT it raises and error: "the assembly project2Assembly was not found!!!

Anybody has an idea please? Thanks by advance for your help.