Nodatime throwing exception in UWP app targeting Windows 10 10240

0

Hi I'm building a Windows 10 app and I'm using NodaTime 2.4.0 to handle some timezone scenarios. Whilst on debug mode it's working fine, this peace of code throws an "Aggregate Exception" with not much detail.

  private void SetDateTime()
    {          
        _currentTimeZone = DateTimeZoneProviders.Tzdb.GetSystemDefault();
    }

Which yields the exception:

+       [0] {System.IO.FileNotFoundException: The system cannot find the file specified. (Excep_FromHResult 0x80070002)}    System.Exception {System.IO.FileNotFoundException}

I'm compiling the app on Release using .net Native an targeting 10240. Any ideas why it's happening? thanks!

enter image description here

enter image description here

c#
uwp
nodatime
asked on Stack Overflow Sep 21, 2018 by Fritjof Berggren • edited Sep 21, 2018 by Fritjof Berggren

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0