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.
The Apple docs say that we can pass nil to disable caching in NSUrlSessionConfiguration.(https://developer.apple.com/library/ios/documentation/Foundation/Reference/NSURLSessionConfiguration_class/index.html#//apple_ref/occ/instp/NSURLSessionConfiguration/URLCache).
But when I pass null to URLCache property, the runtimes throw exception. I don't want the API to cache, because I have my own cache system.
The discussion thread: http://forums.xamarin.com/discussion/33358/how-to-disable-caching-in-nsurlsessionconfiguration-in-unified-api#latest
I reviewed the type and `nil` is also acceptable on two other properties (also fixed).
Thanks for the bug report!
Fixed in maccore/master 2af1894fce5132bfbf870432875fc69d110b8624