Hi All,

I am making my first foray into the world of WPF.  Apart from struggling with 
the intricacies of the MVVM model, I have had a series of issues relating to 
declaring NameSpaces in XAML.
Using VS2010 targeting  .net 3.5 and platform x86.

 My solution and project are both called newKanban.  I have two converters 
which are in a subfolder of the project called "Converters".

In 'PrintKbcCardView.xaml' which is in a subfolder called 'View' ,  I declared 
a NameSpace as:  xmlns:vw="clr-namespace:newKanban"

And I refer to the converters as so:

<UserControl.Resources>
<vw:ArithmeticConverter x:Key="arithConverter" />
<vw:BarcodeTextConverter x:Key="barcodeTextConverter" />
</UserControl.Resources>

I am now getting an error when I compile the solution: "Undefined CLR 
namespace. The 'clr-namespace' URI refers to a namespace 'newKanban' that is 
not included in the assembly.    D:\Documents and Settings\zz9m06\My 
Documents\Visual Studio 
2010\Projects\newKanban\newKanban\View\PrintKbcCardView.xaml   4              
18           newKanban "

And an error for each converter:  "The type 'vw:ArithmeticConverter' was not 
found. Verify that you are not missing an assembly reference and that all 
referenced assemblies have been built.  D:\Documents and Settings\zz9m06\My 
Documents\Visual Studio 
2010\Projects\newKanban\newKanban\View\PrintKbcCardView.xaml             8      
        10                newKanban"

I have had this error previously and was able to get rid of it by rebuilding 
the solution or closing VS and restarting it. Now I cannot seem to get away 
from it.  I searched the Internet and found many similar issues. I tried many 
fixes including rebuilding; rebooting; signing the assembly;  and deleting the 
obj and bin folders and rebuilding.  None have worked.

Interestingly, the ArithmeticConverter has been working fine for several days. 
Only now is VS complaining that it cannot find it.

Can anyone point me in the right direction?

MICHAEL KING
_______________________________________________
ozwpf mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozwpf

Reply via email to