I have a new Xamarin Forms solution setup with a PCL, an iOS app (which builds fine), and an Android project. The Android project is up to date with the latest Nuget packages for Xamarin Forms (2.2.0.45) to match the PCL project. However when I build the project I'm getting over 500 errors in the Resource.Designer.cs file.
I've tried all the suggestions that I've found online, such as deleting the file and having it regenerated during the Build. Checking the .csproj file for the tag and it's there.
Xamarin Forums don't have any answers, some people have filed bug reports. I can't imagine having a clean new Android project on Xamarin Forms won't build. The PCL and iOS app are running fine and have no errors.
Example build output looks like this:
1>C:\MyApp\Droid\Resources\Resource.Designer.cs(39,124,39,130): error CS0117: 'Resource.Animation' does not contain a definition for 'fab_in' 1>C:\MyApp\Droid\Resources\Resource.Designer.cs(40,125,40,132): error CS0117: 'Resource.Animation' does not contain a definition for 'fab_out' 1>C:\MyApp\Droid\Resources\Resource.Designer.cs(41,129,41,140): error CS0117: 'Resource.Animation' does not contain a definition for 'snackbar_in' 1>C:\MyApp\Droid\Resources\Resource.Designer.cs(42,130,42,142): error CS0117: 'Resource.Animation' does not contain a definition for 'snackbar_out' 1>C:\MyApp\Droid\Resources\Resource.Designer.cs(87,125,87,132): error CS0117: 'Resource.Attribute' does not contain a definition for 'barSize' 1>C:\MyApp\Droid\Resources\Resource.Designer.cs(125,145,125,172): error CS0117: 'Resource.Attribute' does not contain a definition for 'disableChildrenWhenDisabled' 1>C:\MyApp\Droid\Resources\Resource.Designer.cs(192,136,192,154): error CS0117: 'Resource.Attribute' does not contain a definition for 'middleBarArrowSize' 1>C:\MyApp\Droid\Resources\Resource.Designer.cs(204,133,204,148): error CS0117: 'Resource.Attribute' does not contain a definition for 'popupPromptView' 1>C:\MyApp\Droid\Resources\Resource.Designer.cs(211,124,211,130): error CS0117: 'Resource.Attribute' does not contain a definition for 'prompt' 1>C:\MyApp\Droid\Resources\Resource.Designer.cs(228,129,228,140): error CS0117: 'Resource.Attribute' does not contain a definition for 'spinnerMode' 1>C:\MyApp\Droid\Resources\Resource.Designer.cs(282,139,282,160): error CS0117: 'Resource.Attribute' does not contain a definition for 'topBottomBarArrowSize' 1>C:\MyApp\Droid\Resources\Resource.Designer.cs(337,121,337,132): error CS0117: 'Resource.Color' does not contain a definition for 'error_color'