
Don't compile C# code that's located in the Android folder, or sub-folder of the Android folder, if you aren't building for Android.This XML configures the build system to remove platform-based folder patterns under specific conditions: Windows.cs, if you aren't building for Windows. Don't compile C# code whose filename ends with.
DOWNLOAD ICLIPBOARD 6.0 MAC FOR MAC
MacCatalyst.cs, if you aren't building for Mac Catalyst. MaciOS.cs, if you aren't building for iOS and Mac Catalyst.


Android.cs, if you aren't building for Android. This XML configures the build system to remove platform-based filename patterns under specific conditions: NET MAUI app project (.csproj) file as children of the node: The build system can be configured to use this pattern by adding the following XML to your. For example, would represent an Android-specific implementation of the MyService class. Configure filename-based multi-targetingĪ standard multi-targeting pattern is to include the platform as an extension in the filename for the platform code. NET MAUI app project so that you don't have to place your platform code into sub-folders of the Platforms folder.

NET MAUI apps can also be multi-targeted based on your own filename and folder criteria. In addition to this default multi-targeting approach.
DOWNLOAD ICLIPBOARD 6.0 MAC FOR ANDROID
For example, when you build for Android the files in the Platforms > Android folder will be built into the app package, but the files in the other Platforms folders won't be. At build time, the build system only includes the code from each folder when building for that specific platform. The folders for each target platform contain platform-specific code that starts the app on each platform, plus any additional platform code you add. NET MAUI app contains a Platforms folder, with each child folder representing a platform that. NET Multi-platform App UI (.NET MAUI) apps use multi-targeting to target multiple platforms from a single project.
