Faerdan
Topic Author
Posts: 73
Joined: 02 Oct 2015, 09:11
Location: Galway, Ireland
Contact:

Converters in merged ResourceDictionary (Unity 5)

01 Nov 2015, 11:39

Hi all,

I have created a number of converters which are common to all of my UIs. I want to place them in an external ResourceDictionary, which I then include in my XAML files using MergedDictionaries.

The converters work perfectly when contained within a XAML file, but when I move them into an external merged dictionary I get a build error (for Noesis GUI) that the converter resource cannot be found.

The resource file itself (which contains the converter) is built without error by Noesis GUI.

I have been combing the internet for days to find a solution, but everything suggests that it should work.

I have seen mention of needing converters in MergedDictionaries to be merged in the App.xaml file, but I do not think we have access to that in the Unity Noesis GUI implementation?


Any help is appreciated.


Thanks,

Mark
 
User avatar
sfernandez
Site Admin
Posts: 2991
Joined: 22 Dec 2011, 19:20

Re: Converters in merged ResourceDictionary (Unity 5)

03 Nov 2015, 10:02

Hi Mark,

This problem is a limitation of our current XAML build process. Please create a ticket in our bugtracker because this works in WPF and we have to solve it.

Meanwhile the only option is to define the converter resource in each XAML that uses it, sorry.

Thanks for reporting.
 
Faerdan
Topic Author
Posts: 73
Joined: 02 Oct 2015, 09:11
Location: Galway, Ireland
Contact:

Re: Converters in merged ResourceDictionary (Unity 5)

03 Nov 2015, 12:27

Will do, thanks.
 
Faerdan
Topic Author
Posts: 73
Joined: 02 Oct 2015, 09:11
Location: Galway, Ireland
Contact:

Re: Converters in merged ResourceDictionary (Unity 5)

03 Nov 2015, 14:00

 
Faerdan
Topic Author
Posts: 73
Joined: 02 Oct 2015, 09:11
Location: Galway, Ireland
Contact:

Re: Converters in merged ResourceDictionary (Unity 5)

23 Jan 2016, 19:32

Hi there,


Any update on this issue?

Not being able to use converters with merged dictionaries is becoming a real pain (I am having to copy and paste and resource changes across multiple files).


Thanks,

Mark
 
User avatar
sfernandez
Site Admin
Posts: 2991
Joined: 22 Dec 2011, 19:20

Re: Converters in merged ResourceDictionary (Unity 5)

25 Jan 2016, 07:27

Not yet, this issue is planned to be solved for 1.2.7 version.
Sorry for the inconvenience :(

Who is online

Users browsing this forum: Ahrefs [Bot] and 26 guests