fix warnings in XAML binding
fix some more warnings
fix nuget reference platform incompatibility compiler warning