I have a MAUI project that I built on a Windows machine for iOS and Android devices. Everything works fine there.
When I try and run the same code on Visual Studio for Mac, it fails because it can't find code for iOS devices that are defined within a preprocessor directive, like this:
#if ANDROID
//do some Android stuff
#elif IOS
//define some properties
#endif
It won't compile and run because it says it can't find the properties that are defined in the "IOS" block. It shows the code in the "ANDROID" preprocessor directive block as active. On Windows, it automatically selects the correct directive to use based on which debugger output you select (like Android emulator or device, iOS emulator or device). It's not doing this on the Mac, so is there some way to force it in VS 2022 17.3 for the Mac?
