I have encountered another problem related to this topic and was wondering if anyone had a solution for it. I am trying to make new XmlReader instance using a memory stream that contains data from a binary resource file, but it keeps throwing an argumentNullexception followed by a CS7069 error. I was wondering how I can go about fixing this since System.IO.TestReader is not part of mscorlib in TinyCLR OS. Below is the line of code and the error.
XmlReader xmlReader = XmlReader.Create(newMemoryStream(data), xmlReaderSettings);
CS7069 C# Reference to type ‘TextReader’ claims it is defined in ‘mscorlib’, but it could not be found