Quantcast
Viewing all articles
Browse latest Browse all 204402

I'm having difficulty Serializing and Deserializing an XML. Getting path is denied problems.

I'm not completely sure how to solve this issue as I'm new to xamarin things are a bit more straight forward when dealing with Native code and apps etc. Anyways I have this piece of code I"m using.

SharpSerializer serializer = new SharpSerializer(); serializer.Serialize(myProfile, "test.xml");

        var mySecondprofile = serializer.Deserialize("test.xml");

I set everything above so the object isn't empty. But ever single time I run it I get access to path denied when doing the serialization. I"m using SharSerializer that I found. Obviously I'm not accessing the file system correctly I went into the android manifest and clicked on all the permissions I could find to see if that was the issue but no dice. So... How do I do access the file system then?


Viewing all articles
Browse latest Browse all 204402

Trending Articles