I'm creating a multi-targeted class library for a Xamarin Forms project which will be targeted to .NET Standard 2.0, MonoAndroid 8.1, and Xamarin.iOS 1.0. I understand how to conditionally include files for compilation based upon the platform, to include platform specific renderers and utilities.
I need to know how to include *.xaml files in a way that won't break resharper and intellisense, and won't emit false positives for InitializeComponent being out of context in a ContentPage. Setting the xaml files to build action EmbeddedResource, with custom tool UpdateDesignTimeXaml in the csproj, and the code behind files to Compile, partial classes aren't detected, resharper stops being helpful, etc.
What do the csproj files for your multi-targeted projects targeting these platforms and containing xaml resources look like?