This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
In my project i use both Diagramms and Elements.
In custom node style i need to write: <ms:ArithmeticConverter x:Key="Negative" Factor="-1" /> where: xmlns:ms="http://namespaces.mindscape.co.nz/wpf"
But i have error: Error 1 Ambiguous type reference. A type named 'ArithmeticConverter' occurs in at least two namespaces, 'Mindscape.WpfDiagramming.Foundation' and 'Mindscape.WpfElements'. Consider adjusting the assembly XmlnsDefinition attributes. D:\Packet\trunk\public\Projects\Visuals\VisualConfig\VisualConfig\Common\DiagramRecources.xaml |
|
|
Use a separate xmlns declaration, explicitly specifying a CLR namespace, to disambiguate the reference e.g. <Window xmlns:d="clr-namespace:Mindscape.WpfDiagramming.Foundation;assembly=Mindscape.WpfDiagramming.Foundation" /> <d:ArithmeticConverter ... /> You can of course continue to use the ms: prefix for unambiguous classes. |
|
|
Thank you, Ivan. |
|