1
I have a problem in a method on windows phone. It reads an xml file and returns a string, the problem is that this method only works on windows 8 and not on windows 8.1. It follows the code:
public static String readFile(String path)
{
var resource = App.GetResourceStream(new Uri(path, UriKind.Relative));
StreamReader reader = new StreamReader(resource.Stream);
String arquivo = reader.ReadToEnd();
return arquivo;
}