Problems porting a WPF project to Noesis for Unity
Posted: 16 Nov 2018, 12:52
I recently started Evaluating Noesis for my current company. We're a UX company and thinking about using Noesis for projects.
I am running into a couple of problems however. I'll post them as separate threads here, since the recent server crash apparently destroyed my earlier posts.
I was trying to port one of our WPF projects, or rather one of its screens, to Noesis.
We have a bunch of resource dictionaries merged in the App.aml and one viewmodel view combination in this example.
I'm running into several problems with missing APIs or APIs that apparently don't work like WPF and I also don't 100% understand the configuration work I need to do.
One issue I'm running into is declaring fonts, stream geometries and images as resources.
The stream geometry declaration looks like this:
And for some reason Noesis tells me that it cannot turn this string into a StreamGeometry. In WPF it works fine. Any idea what the issue is?
I'm also trying to declare a font family but I'm not sure i'm doing it right. I'm getting the same issue basically.
Am I referencing the file in the wrong way? Do I need to put the font file in a certain directory for Noesis to find it? In WPF this works, in noesis it doesn't.
In terms of geometry, every type seems to exist except for "Polygon". Why is that type missing and can I expect that to be added?
I am running into a couple of problems however. I'll post them as separate threads here, since the recent server crash apparently destroyed my earlier posts.
I was trying to port one of our WPF projects, or rather one of its screens, to Noesis.
We have a bunch of resource dictionaries merged in the App.aml and one viewmodel view combination in this example.
I'm running into several problems with missing APIs or APIs that apparently don't work like WPF and I also don't 100% understand the configuration work I need to do.
One issue I'm running into is declaring fonts, stream geometries and images as resources.
The stream geometry declaration looks like this:
Code: Select all
<StreamGeometry
x:Key="Icon.Comment">
F1M0,0z M33,10a3.27,3.27,0,0,0-3-3H10a3.28,3.28,0,0,0-3,3V26a3.28,3.28,0,0,0,3,3H28l5,5V10ZM28,24H12V21H28Zm0-4H12V17H28Zm0-4H12V13H28Z M40,40z
</StreamGeometry>
I'm also trying to declare a font family but I'm not sure i'm doing it right. I'm getting the same issue basically.
Code: Select all
<FontFamily x:Key="FontFamily.Standard">/Assets/NoesisGUI/HelloWorld/Resources/Fonts/Roboto-Regular.ttf</FontFamily>
In terms of geometry, every type seems to exist except for "Polygon". Why is that type missing and can I expect that to be added?