Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
System.TimeZoneNotFoundException: Exception of type 'System.TimeZoneNotFoundException' was thrown.
at System.TimeZoneInfo.GetMonoTouchData (System.String name, Boolean throw_on_error) [0x00000] in <filename unknown>:0 (code.cs:1)
at System.TimeZoneInfo.CreateLocal () [0x00000] in <filename unknown>:0 (code.cs:1)
at System.TimeZoneInfo.get_Local () [0x00000] in <filename unknown>:0 (code.cs:1)
at System.CurrentSystemTimeZone.GetUtcOffset (DateTime time) [0x00000] in <filename unknown>:0 (code.cs:1)
at System.TimeZone.ToLocalTime (DateTime time) [0x00000] in <filename unknown>:0 (code.cs:1)
at System.DateTime.ToLocalTime () [0x00000] in <filename unknown>:0 (code.cs:1)
at System.DateTime.FromFileTime (Int64 fileTime) [0x00000] in <filename unknown>:0 (code.cs:1)
at System.IO.FileSystemInfo.get_LastWriteTime () [0x00000] in <filename unknown>:0 (code.cs:1)
Please provide a test case that demonstrates the issue so we can fix it.
Look at the stacktrace. It is pretty obvious.
Do you know what System.IO.File is ?
Or you are a bot that asks for repros ?
IT IS CRAPPY LACK OF TZ INFO IN FRAMEWORK!
And i dunno what TZ. Compare with .NET. IT is your job, not mine.
Could you tell me the Timezone/locale configuration of the test device or
whether your app programmatically change this information.
It could be very much that the timezone you're asking is not available on the system. In which case is not a bug, but a limitation of the platform.
Because we have not received a reply to our request for more information, we are marking this issue as RESOLVED→NORESPONSE. If you are still encountering this issue on the latest Xamarin.iOS 10.12.0.14, please don’t hesitate to reopen the ticket with the requested information. Thanks!