зеркало из https://github.com/xamarin/ios-samples.git
fixed FNF exception on device due to case of file name. Ref bug #8771
This commit is contained in:
Родитель
df69432965
Коммит
18abe66a37
|
@ -60,13 +60,13 @@ namespace FileSystem
|
|||
display.Text = "";
|
||||
|
||||
// Sample code from the article (doesn't output any values)
|
||||
using (TextReader reader = new StreamReader("TestData/test.xml")) {
|
||||
using (TextReader reader = new StreamReader("TestData/Test.xml")) {
|
||||
XmlSerializer serializer = new XmlSerializer(typeof(TestXml));
|
||||
var xml = (TestXml)serializer.Deserialize(reader);
|
||||
}
|
||||
|
||||
// Output to app UITextView
|
||||
using (TextReader reader = new StreamReader("TestData/test.xml")) {
|
||||
using (TextReader reader = new StreamReader("TestData/Test.xml")) {
|
||||
XmlSerializer serializer = new XmlSerializer(typeof(TestXml));
|
||||
var xml = (TestXml)serializer.Deserialize(reader);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче