Resource.Id not working in Xamarin

For Visual Studio Community 2019 Preview (V 16.0.0, Pr 5.0):

For this problem and a lot of the problem with the designer I have to repeatedly do the following:

  • Save all documents and close VS.
  • Navigate to the project folder in your file browser
  • Delete (or rename, if you're paranoid) the "obj" and "bin" folders
  • Relaunch VS and try the designer again.

With this version (granted, it's still beta) running a clean on the project with the designer open will cause access permission errors that can be corrected with these steps.


Try rebuilding the app again and saving the main.axml file .

  • Build > Clean Solution

  • Build Solution


Adjust properties for resource file like here:

enter image description here