Hey guys so I'm working on a Xamarin cross platform project that uses .net shared code, and then has .iOS . Android and .UWP projects as well.
What I want to do is be able to is put some files into either the resources directory or root, of the platform specific files, so I can access them from the shared code project.
Specifically I have a class in the shared project that takes an input stream reading of a .svg file, and then draws it as an svg. That works fine if the svg is in the shared project, but I want to be able to have different icons for different platforms, so just as you would do with Images, I would like to be able to have different versions of the in the platform specific projects.
The issue, is that I have no way of accessing the files from the Shared project. I tried doing the following stackoverflow.com/a/29233573 (sorry too new to post links) however when I try that I'm not able to get the assembly that contains the embedded resources of the platform specific projects. If there was some way to reference those assemblies that may solve my issue, otherwise I need a completely different approach than the ManifestResources to be able to read these files I guess.
Any help would be appreciated, I've been banging my head against this all day and am really pretty drained at this point.