The “ResolveLibraryProjectImports” task failed unexpectedly

I’ve literally just had this with a brand new Xamarin.Forms application in Visual Studio 2017. The root cause appears to be that I let VS2017 create the project in it’s default location ‘C:\Users\Dave\Documents\Visual Studio 2017\Projects’ and this has resulted in one of more files now having a path which it too long. I moved the … Read more

Change default timeout

The default timeout of an HttpClient is 100 seconds. HttpClient Timeout You can adjust to your HttpClient and set a custom timeout duration inside of your HttpService. httpClient.Timeout = 5000; HttpClient Request Timeout You could alternatively define a timeout via a cancellation token CancellationTokenSource using (var cts = new CancellationTokenSource(new TimeSpan(0, 0, 5))) { await … Read more