Can't xmlns reference to other project in XAML
i have a wpf project like this:
in a xaml file in my RCISP.WPF project i want to refrence a class define in my RCISP.Common
Project. When I refrence to this class i got a xaml Eror like this:
Assembly 'mayclass' was not found.Verify that you are not missing as assembly reference.Also,verify that your project and all referenced assemblies have been built;
i have referenc to RCISP.Common in my RCISP.WPF...
The assembly part of the tag be the assembly name of the project you are referencing and unless you have specifically changed that to FamilyDto it will be the same as the name of your project eg RCSIP.Common
so
xmlns:CommonLayer="clr-namespace:RCISP.Common.Dto.Faimily;assembly=RCSIP.Common"
If your assembly is called FamilyDto then make sure you build your project as the editor needs the project to be compiled before it can correctly determine the reference is valid
你的程序集的名字可能是RCISP.Common,所以xmlns应该是: xmlns:CommonLayer="clr-namespace:RCISP.Common.Dto.Family;Assembly=RCISP.Common