Resource.designer.cs Not Updated

Computer specification

  • Update for Visual Studio 2015 Enterprise 3
  • Xamarin 4.2.0.719
  • Xamarin.Android 7.0.1.6
  • Xamarin.iOS 10.2.0.4

Problem Details

Resource.designer.cs Not updated in the Xamarin.Droid project.

  • Tried to remove
  • Tried to clear the contents and rebuild
  • Restart solution
  • Reboot the computer.
  • Create a new project.
  • Re-add the files as Android resources.
  • Tried to delete Resources.Designer.cs file

I tried all the posts below that may seem duplicate:

Xamarin:

Codeproject, [Solved] :

+4
4

, , resource.designer.cs. , , .

, , Android Asset Packaging Tool " " Visual Studio. , "". aapt , . :

Executing package -f -m -M C:\Users\billm\AppData\Local\Temp\2xfnjt4r.kaj\manifest\AndroidManifest.xml -J C:\Users\billm\AppData\Local\Temp\2xfnjt4r.kaj ...    
    res\drawable\keyboard-backspace-long.png: Invalid file name: must contain only [a-z0-9_.] (TaskId:113)
    res\drawable\keyboard-backspace-long.png: Invalid file name: must contain only [a-z0-9_.] (TaskId:113)
    res\drawable\keyboard-backspace-xlong.png: Invalid file name: must contain only [a-z0-9_.] (TaskId:113)
    res\drawable\keyboard-backspace-xlong.png: Invalid file name: must contain only [a-z0-9_.] (TaskId:113)
    res\drawable\keyboard-backspace.png: Invalid file name: must contain only [a-z0-9_.] (TaskId:113)
    res\drawable\keyboard-button.png: Invalid file name: must contain only [a-z0-9_.] (TaskId:113)
    Done executing task "Aapt". (TaskId:113)
+1

method1: , bin obj, , 100%, , , ,

method2: i.e, , c- > users- > → AppData (Hidden File) → xamarin

0

:

"aapt.exe" 1.

, , Resources.Designer.cs.

, , , my_xml_file.xml my_xml_file - Copy.xml.

-1

Xamarin resource.designer :

  • axml MainActivity.cs
  • , .

, axml, , .

, -

-2
source

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


All Articles