I am trying to add foreground color to a textblock in Windows Phone 8.1 App. For this, I have added a reference to dll "System.Drawing".
The error ("Cannot find type System.MarshalByRefObject in module mscorlib.dll.") is shown for this line while building the solution txtBlock.Foreground = new SolidColorBrush(Windows.UI.Color.FromArgb(100,200,100,200));
and for this as well
txtSubject.Foreground = new SolidColorBrush(Windows.UI.Colors.Beige);