[mono-android] Can't set CreationTime on File

najak3d bknox at visual3d.net
Tue Dec 24 06:08:23 UTC 2013


I'm having the exact same issue with the latest Xamarin build 4.2.2.

I was doing this same thing under "MyDocuments" just fine.   But then I
swapped it out to ExternalStorage location, and everything works fine
*except* for code that tries to modify the "CreationTime" (for a Zip inflate
function).  To fix it, for now, I just removed the offending lines of code;
but now the function is defective, since the file dates *should* be set to
whatever they were set inside the archive (to preserve their actual time
stamps).

If I switch my path back to "MyDocs" it works fine; but for External
Storage, I'm unable to set File dates.



--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Can-t-set-CreationTime-on-File-tp5713422p5713647.html
Sent from the Mono for Android mailing list archive at Nabble.com.


More information about the Monodroid mailing list