Bug 45897 - Get an build error after updating to Xamarin.Android 7.0.1
Summary: Get an build error after updating to Xamarin.Android 7.0.1
Status: RESOLVED DUPLICATE of bug 44667
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 7.0 (C8)
Hardware: PC Mac OS
: High normal
Target Milestone: 7.1 (C9)
Assignee: dean.ellis
Depends on:
Reported: 2016-10-25 19:20 UTC by mli
Modified: 2016-10-26 14:33 UTC (History)
1 user (show)

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

Build outputs from the command line (670.94 KB, text/rtf)
2016-10-26 14:17 UTC, mli

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 mli 2016-10-25 19:20:21 UTC
After updating to Xamarin.Android 7.0.1 from 6.1.2, I can no longer build my Android project. The error that I get is:

"/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: error : Error executing task ResolveLibraryProjectImports: Could not load file or assembly or one of its dependencies."

Here's my Xamarin Studio info:


Version: (Xamarin Business)
Android SDK: /Users/joeli/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		6.0 (API level 23)
		7.0 (API level 24)

SDK Tools Version: 25.2.2
SDK Platform Tools Version: 25
SDK Build Tools Version: 25

Version: (Xamarin Business)

Version: (Xamarin Business)
Hash: ad1cd42
Branch: cycle8-sr0-xi
Build date: 2016-10-03 15:18:44-0400

I have completely reinstalled the Xamarin Studio, but with no luck. I should mention that the iOS project builds fine.

Any help or advice would be much appreciated.
Comment 1 dean.ellis 2016-10-26 08:45:26 UTC

Are you able to build from the command line?

xbuild <your.csproj> /t:Build /v:d

Can you post the diagnostic output?
Comment 2 mli 2016-10-26 14:17:18 UTC
Created attachment 18234 [details]
Build outputs from the command line

I have attached the build outputs from the command line.

Thank you very much!
Comment 3 dean.ellis 2016-10-26 14:29:50 UTC
Are you running on a case sensitive file system?

are you able to list the all the files in 


ls -la /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/
Comment 4 mli 2016-10-26 14:30:18 UTC
Hi Dean,

It looks like the issue that I encountered is the same as bug 44667 (https://bugzilla.xamarin.com/show_bug.cgi?id=44667), where the LibZipSharp.* files needs to be renamed to "libZipSharp.*". 

Thank you very much for your help!
Comment 5 dean.ellis 2016-10-26 14:33:41 UTC
Yup that was the bug I was thinking of. Its been fixed and will be shipped in our C9 release. In the mean time you should be able to rename the file locally to get it working.

*** This bug has been marked as a duplicate of bug 44667 ***