I am new to Xamarin platform, and am facing the error
Build action 'EmbeddedResource' is not supported by one or more of the project's targets. Am debugging in emulator 8.1 for windows phone, and my project is a Xamarin.form(portable).
I am new to Xamarin platform, and am facing the error
Build action 'EmbeddedResource' is not supported by one or more of the project's targets. Am debugging in emulator 8.1 for windows phone, and my project is a Xamarin.form(portable).
Follow these steps:
Option 1:
In case it does not work, please follow option 2:
I recently faced the same error in the following situation (Xamarin.Android + .NET Standard Library (converted from a PCL)):
I had some classes in a .NET Standard project that had Data Annotations for public types. I installed the nuget package that contained the Data Annotations in my .NET Standard Library. Installing it into my Android Project, too, fixed the issue that you described.
In VS 2015 Professional:
InitializeComponent() method the following code image.Source = ImageSource.FromResource("YourProjectName.YourFolderName.YourImage");