Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
I get this error when building any new project.
Unexpected error - Please file a bug report at http://bugzilla.xamarin.com. Reason: System.IO.FileNotFoundException: Could not load assembly 'My_App, Version=, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile? My_App.Droid
No idea what it means.
I will tentatively mark this bug as a duplicate of a new bug I have filed for one common cause of this _error_.
Note that this same message can also appear as an ignorable _warning_: Bug 23210.
If you can still replicate the original issue as reported in Comment 0 and neither the duplicate bug nor Bug 23210 matches the behavior you are seeing, then please reopen this bug report after attaching at least one (and preferably both) of the following:
- A zipped up minimal test case that demonstrates the error.
- The diagnostic MSBuild output, as described on https://developer.xamarin.com/guides/android/troubleshooting/troubleshooting/#Diagnostic_MSBuild_Output
*** This bug has been marked as a duplicate of bug 40782 ***