locked
Adding Int, doubles to ResourceDictionary for Universal Apps

    Question

  • Before Universal Apps I was able to add Int32 in my xaml style dictionaries.

    Like so:

    xmlns:sys="clr-namespace:System;assembly=mscorlib" and <sys:Int32 x:Key="MyKey">18</sys:Int32>

    "clr-namespace:System;assembly=mscorlib" doesn't appear to be correct in Universal anymore but it looks like I can use "using:System"

    However, I get this error: Syntax Error found in XBF.

    Basically, How can I get Int and doubles in my xaml Style Dictionaries for Universal?


    mark



    • Edited by Mark_E_R Thursday, August 07, 2014 7:58 PM
    Thursday, August 07, 2014 7:54 PM

Answers