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

Flaubert TAGU 1 Reputation point
2022-04-25T16:53:32.313+00:00

Hello Microsoft team,
Everyone,

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?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,293 questions
Universal Windows Platform (UWP)
{count} votes