I add a file called citybase.png to my accessible folder, when I set the src property of my ImageView to @ drawable / citybase, the image does not appear in the design view. By checking the Resource.designer.cs class, I understand that no link is created for any files that I add to the drop-down folder (except for the default icon, of course).
public partial class Drawable
{
public const int Icon = 2130837504;
static Drawable()
{
global::Android.Runtime.ResourceIdManager.UpdateIdValues();
}
private Drawable()
{
}
}
I tried to restore and clean the project, but it did not work. How can I fix this problem? (Xamarin Studio 4.2.3)
source
share