I no longer have the issue. I recreated the project to a temporarily named one and that fixed it. I am going to have to go back to the original named one soon. Hopefully it does not come back
Deploying MAUI Android but getting iOS errors!
I am porting a project from XF to MAUI. I am trying to build a Signle Project Class Library that has TargetFrameworks of
<TargetFrameworks>net8.0-android;net8.0-ios</TargetFrameworks>
I have Android and iOS specific files under Platforms\Android and Platforms\iOS.
I have an Android device attached and succesfully selected in VS2022.
I have multiple "Solution Configurations" ported over from XF solution. Currently selected "Debug"
I have "Any CPU" selected in "£Solution Platforms" drop down.
Why oh why is VS2022 complainig that it cannot build files in the iOS folder. I am not currently trying to build for iOS!!!
2 answers
Sort by: Most helpful
-
-
Bruce (SqlWork.com) 66,061 Reputation points
2024-06-28T17:17:27.96+00:00 Check your project file that the compile conditions are correct for each platform folder. See