unoplatform / uno

Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
https://platform.uno
Apache License 2.0
8.93k stars 725 forks source link

Binding of FontSize in a style does not work for iOS #3655

Closed zipswich closed 2 years ago

zipswich commented 4 years ago

Current behavior

iOS head build fails with errors: 1> E:\UNO\AppDebugUno\AppDebugUno\AppDebugUno.iOS\obj\iPhoneSimulator\Debug\g\XamlCodeGenerator\MainPage_4a5e751e5ab70fb750d0b3a433e70c70.g.cs(83,118,83,118): error CS1525: Invalid expression term ')' 1> E:\UNO\AppDebugUno\AppDebugUno\AppDebugUno.iOS\obj\iPhoneSimulator\Debug\g\XamlCodeGenerator\MainPage_4a5e751e5ab70fb750d0b3a433e70c70.g.cs(84,9,84,14): error CS1024: Preprocessor directive expected 1> E:\UNO\AppDebugUno\AppDebugUno\AppDebugUno.iOS\obj\iPhoneSimulator\Debug\g\XamlCodeGenerator\MainPage_4a5e751e5ab70fb750d0b3a433e70c70.g.cs(149,116,149,116): error CS1525: Invalid expression term ')' 1> E:\UNO\AppDebugUno\AppDebugUno\AppDebugUno.iOS\obj\iPhoneSimulator\Debug\g\XamlCodeGenerator\MainPage_4a5e751e5ab70fb750d0b3a433e70c70.g.cs(150,7,150,12): error CS1024: Preprocessor directive expected

Expected behavior

iOS head should build.

How to reproduce it (as minimally and precisely as possible)

Xaml: ```