Hello,
I'm looking at packaging my Xamarin.Mac app for the App Store and have hit a quirk in the build process.
In the project are several class library projects, some my own, others 3rd party. A few of these class libraries have resources bundled into them (such as images).
When building the project for Debug, these images get extracted correctly and placed in the bundle under Contents/Resources. Everything works fine.
But, when building for AppStore, there's this curious warning in the build log:
Warning: The referenced library 'MyLib.dll' is not used from any code, skipping extraction of content resources. (MyApp)
Warning: The referenced library 'Newtonsoft.Json.dll' is not used from any code, skipping extraction of content resources. (MyApp)
Well, these libraries are very much used in code, so I don't know why it thinks they aren't. This results in those images not being present in Contents/Resources.
How do I force this extraction to occur?
If I can't, it's going to make getting those resources in the right place a bit of a ball ache, especially due to the cross-platform nature of these libs...