Xamarin Resource.designer.cs does not generate a link to add a new file

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
    {

        // aapt resource value: 0x7f020000
        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)

+3
source share
1 answer

( "Drawable" ), , "@", "#" ..

0

Source: https://habr.com/ru/post/1659578/


All Articles