Skip to content

LibVLCSharp 3.4.0 will hang build in Release mode for Xamarin.Android

Summary

In the latest LibVLCSharp version 3.4.0 there is a bug while building Android project in Release mode. Build is hanged and can't be canceled. Visual Studio hangs completely. Ctrl + Alt + Del -> End Task for Visual Studio is the only solution

Minimal project and steps to reproduce

Update to LibVLCSharp version 3.4.0 and start build Xamarin.Android project in Release mode

What is the current bug behavior?

Hangs Visual Studio build process

What is the expected correct behavior?

Build shoud be completed with success

Environment

  • LibVLCSharp version: 3.4.0
  • Visual Studio: 16.3.9
  • Working machine: Windows 10
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information