Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Configure Blazor Hybrid App to build and run for Android only

$
0
0

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?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>