次のような app.xaml があります。
<?xml version="1.0" encoding="utf-8" ?>
<Application xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="Foo.App">
    <Application.Resources>
        <!-- Application resource dictionary -->
        <Color x:Key="MyRed">#ad1929</Color>
    </Application.Resources>
</Application>
私の色の1つを次のように参照しようとすると:
var myRed = (Color)Application.Current.Resources["MyRed"];
例外があります:
System.Collections.Generic.KeyNotFoundException: The resource 'MyRed' is not present in the dictionary.
別のプロジェクトからリソースを参照しようとすることと関係がありますか?
どこが間違っているのかわかりません...