-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
I've made a Maui app and developed it using the android emulator where it runs without a problem. However when trying to deploy the app to my iPhone the app crashes during the App class's InitializeComponent() with the error System.IO.FileNotFoundException: "System.Private.CoreLib.resources" before it terminates.
To make things even stranger, when I open the source code on my mac and try to deploy from there the code won't even build. App.xaml throws errors "XLS0414: The type 'Color' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built."
I've tried looking into the possibility of a missing reference but Microsoft.Maui.Graphics looks like a core assembly so I'm not sure how I would be able to remove it the first place.
I've also tried all the standard things like cleaning the solution and rebuilding. Also I created a new project where I migrated all my code in case the issue was from upgrading the project from maui6 to 7, but that didn't help either.
VisualStudio Version 17.5.1 (17.5.2 on Mac)
Maui ios 16.2.1024/7.0.100 (16.2.1040/7.0.100 on Mac)