Bug 38690 - Resource does not contain a definition for X
Summary: Resource does not contain a definition for X
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-02-11 19:08 UTC by qkalantary1
Modified: 2016-12-21 15:33 UTC (History)
4 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description qkalantary1 2016-02-11 19:08:19 UTC
C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(9
1>91,2): monodroid error XA0000: Unexpected error - Please file a bug report at h
1>ttp://bugzilla.xamarin.com. Reason: System.IO.FileNotFoundException: Could not 
1>load assembly 'EmployeeMobile, Version=, Culture=neutral, PublicKeyToken='. Per
1>haps it doesn't exist in the Mono for Android profile?

There are a ton of "Resource does not contain a definition for (insert some thing)" errors. Like 1459 of them.

They're all in the xamarin forms Droid.Resource folder but I installed all the recommeneded Android SDKs using SDK manager (or so I think)
Comment 1 Paul DiPietro [MSFT] 2016-02-11 19:31:55 UTC
Have you updated the selected option for the "Compile using Android version" setting in your Android project settings?