I’ve a Blazor Hybird App .NET8 – actually only to be able to develop an Android app in C#.
It’s a bit annoying to write
#if ANDROID
...
#endif
in many code sections.
How can I configure my project so that it only builds for Android anyway and these directives can be omitted?