xamarin / AndroidSupportComponents

Xamarin bindings for Android Support libraries - For AndroidX see https://github.com/xamarin/AndroidX
MIT License
146 stars 56 forks source link

VerifyVersionsTask may cause deadlock in IDE #142

Closed Redth closed 5 years ago

Redth commented 5 years ago

In 28.0.0 the VerifyVersionsTask appears to be causing deadlocks in visual studio for some users.

I think this might be due to using HttpClient and eventually calling .Result on an async method returning results which uses the async HttpClient methods.

Furthermore, there's no simple way to bypass this task from running so there's no great workaround. We should have added a condition/flag to this task to allow manual bypass.

We should switch to not using HttpClient (maybe just HttpWebRequest instead) and add a condition on the task to allow setting an msbuild property to skip its execution.

VS bug #762061

Redth commented 5 years ago

Not sure why this didn't get closed with the DevOps issue, but this was fixed and released: https://github.com/xamarin/AndroidSupportComponents/releases/tag/28.0.0.1