August 09, 2016 15:57 ANSWERED
There is a (serialization to file? xaml generation?) bug when using variables with 1 character as a name and the type expected being Char - instead of variable value, it takes the variable name as a literal, due to the way it’s saved to xaml.
See below example to replicate:
I’ve found 2 workarounds:
Use a different variable name - obviously, but foreach char c in someString is the most commonly used.
Modify the xaml (Note: Might get reversed if you modify it later, so not recommended, but still works):
Find the line with the argument (in this example it was c)
Put the variable name in square brackets ( [c] ) to indicate it’s not a literal.
Figured I’ll share it here, as it’s both a HowTo and a bug.