Bug 13114 - library_project_imports folder not found on build, causing XA0000 and exception
Summary: library_project_imports folder not found on build, causing XA0000 and exception
Status: VERIFIED DUPLICATE of bug 12938
Alias: None
Product: Android
Classification: Xamarin
Component: Samples ()
Version: 4.7.x
Hardware: PC Mac OS
: High critical
Target Milestone: 4.8 (async)
Assignee: Peter Collins
Depends on:
Reported: 2013-07-09 06:39 UTC by narayanp
Modified: 2013-07-19 07:47 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 narayanp 2013-07-09 06:39:44 UTC
Steps to reproduce this issue:
1. Open Android sample 'DynamicTest'
2. Build the application.

Actual Result: Application giving build error on Mac Lion "/Users/nischal/Desktop/9thJuly/monodroid-samples-master/DynamicTest/DynamicTest: Error XA0000: Unexpected error - Please fill a bug report at http://bugzilla.xamarin.com. Reason: System.IO.DirectoryNotFoundException: Directory '/Users/nischal/Desktop/9thJuly/monodroid-samples-master/DynamicTest/DynamicTest/obj/Debug/__library_projects__/System.Json.Next/library_project_imports' not found. (XA0000) (DynamicTest". While on ML this application build successfully.

Expected Result: Application should build and deploy successfully.

Supplement info: Build Output

Environment details:
Mac Lion
X.S 4.0.9(build 15)
Mono 3.1.1
Xamarin.Android 4.7.11-42

Regression Status: 
REGRESSION: Working fine with stable Xamarin.Android 4.6.8
Comment 1 Peter Collins 2013-07-09 13:53:52 UTC
This looks to be related to a similar environment issue filed earlier. Please ensure your monodroid-samples directory is up to date and clean by running the following in the monodroid-samples directory:
> git clean -xfd
> git reset --hard HEAD
> git pull

And then attempt to rebuild the sample. I am unable to reproduce this issue locally.
Comment 2 PJ 2013-07-09 14:01:04 UTC
So it looks like this issue/error is popping up in a few other bugs. While the workaround may be to clean and rebuild there is something causing people to get this message.

A few other bugs that match on the error message: bug 13010, bug 13087, bug 12938.

JonP, can we just mark these all as duplicates of 12938?
Comment 3 Jonathan Pryor 2013-07-10 16:55:42 UTC
PJ: These are dups of Bug #12938 if they all fail ONLY on Starter edition. This bug doesn't mention if this was observed for only the Starter edition or for any license.
Comment 4 Paul Johnson 2013-07-10 17:16:54 UTC
I'm only seeing it in the Starter Edition (which is annoying as it should be the business edition on my laptop but I can't authorise it as such!)
Comment 5 Paul Johnson 2013-07-10 17:17:38 UTC
It is also in the latest versions on the alpha channel
Comment 6 Jonathan Pryor 2013-07-10 17:32:44 UTC
Marking as a Dup of Bug #12938 as per Comment #5.

*** This bug has been marked as a duplicate of bug 12938 ***
Comment 7 Saurabh 2013-07-19 07:47:27 UTC
Today, we have checked this issue with latest builds:

Lion OSX 10.7.5
XS 4.0.10(Build 5)
X.Android 4.8.0-11

App info:

Now, DynamicTest application builds and deploys successfully without any error.

Hence, closing this issue and changing its status as Verified.