'Xamarin UWP release freezes at 'Compilation of [number] methods'

I have a big issue. I use an obfuscation solution to protect my solution. When I try to build the solution in "Debug" mode, it finishes in less than 2 minutes. When I try to build the solution in "Release" mode, if freezes at 'Compilation of [number] methods. There is more than 100 thousands.

What should I do to overcome this issue? Can someone have a solution to this issue? Image screenshoot on where it freezes



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source