The following code worked for me for 2 years:
var addr = System.Net.Dns.GetHostAddresses(url);
After updating Xamarin (and Essentials) to 5.0.0.2083 it's just hanging there until app crashes.
Any ideas/workaround?
The following code worked for me for 2 years:
var addr = System.Net.Dns.GetHostAddresses(url);
After updating Xamarin (and Essentials) to 5.0.0.2083 it's just hanging there until app crashes.
Any ideas/workaround?
Hi, TomerZ-1923. I created a basic demo to test the function, it works as expected. What's the version of VisualStudio on your pc? Try to update it to the lastest stable version. Empty the bin and obj folders of both the shared project and platform project, then open the vs to build the project.
Hi @JarvanZhang-MSFT, thank you for your attention.
I forgot to mention that i also updated VS (pro) to 16.10.4
The issue was the emulator had no internet access, this is weird because as i said - before those upgrades everything worked fine.
It looks like that one of the updates messed the emulators configuration.
After creating a new emulator everything went back to track.
So i updated Xamarin back to latest and still worked, probably the VS updated messed the emulator configs.
Thanks.
7 people are following this question.