問題來源
把 Xamarin Forms 項目中的 Xamarin.Forms nuget package從 2.5 更新到 3.0 之后就遇到這個錯誤了
Xamarin.Forms 2.5 --> project build success
Update Xamarin.forms version from 2.5 to 3.0 then build again, --> project build failed with error:
Xamarin.Forms.Xaml.XamlParseException: No embeddedresource found for
解決方案
在 Xamarin.Forms 中所有的 Page.xaml.cs 加入下面這句代碼:
[XamlCompilation(XamlCompilationOptions.Compile)]