Bug 43041 - Current alpha version not building
Summary: Current alpha version not building
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 7.0 (C8)
Hardware: Macintosh Mac OS
: High normal
Target Milestone: 7.0.1 (C8SR1)
Assignee: dean.ellis
URL:
Depends on:
Blocks:
 
Reported: 2016-08-03 23:29 UTC by Paul Johnson
Modified: 2016-12-21 06:55 UTC (History)
6 users (show)

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


Attachments
Build output (381.98 KB, text/plain)
2016-08-04 23:17 UTC, Paul Johnson
Details
Output for original filed bug (376.57 KB, text/plain)
2016-08-05 00:33 UTC, Paul Johnson
Details


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:
Status:
RESOLVED NOT_REPRODUCIBLE

Description Paul Johnson 2016-08-03 23:29:47 UTC
Xam.Android on the alpha channel (6.2.0.23) is currently refusing to build Android projects (not sure if it is restricted to Xam.Forms). When you build, the compilation looks fine but dies with the following error

Target _ValidateAndroidPackageProperties:
		  PackageName: timeofdeath.timeofdeath
/Users/PFJ/Developer/book2/Chapter 6/timeofdeath3/Droid/Properties/AndroidManifest.xml:  warning XA4211: AndroidManifest.xml //uses-sdk/@android:targetSdkVersion '21' is less than $(TargetFrameworkVersion) 'v7.0'. Using API-24 for ACW compilation.
	
	Target _ResolveLibraryProjectImports:
/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.
		Build FAILED.
		
Warnings:
		
		/Users/PFJ/Developer/book2/Chapter 6/timeofdeath3/Droid/timeofdeath3.Droid.csproj (Build) ->
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets (_ValidateAndroidPackageProperties target) ->

			/Users/PFJ/Developer/book2/Chapter 6/timeofdeath3/Droid/Properties/AndroidManifest.xml:  warning XA4211: AndroidManifest.xml //uses-sdk/@android:targetSdkVersion '21' is less than $(TargetFrameworkVersion) 'v7.0'. Using API-24 for ACW compilation.
		
		Errors:
		
		/Users/PFJ/Developer/book2/Chapter 6/timeofdeath3/Droid/timeofdeath3.Droid.csproj (Build) ->
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets (_ResolveLibraryProjectImports target) ->

			/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.
		
			 1 Warning(s)
			 1 Error(s)

If I return to the stable branch (6.1.2.21), Android apps build and execute as expected.

=== Xamarin Studio Business ===

Version 6.1 (build 5298)
Installation UUID: ce0f5bb4-16a6-43ce-8c03-1a7fe7681700
Runtime:
	Mono 4.6.0 (mono-4.6.0-branch/753c323) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 406000125

=== NuGet ===

Version: 3.4.3.0

=== Xamarin.Profiler ===

Not Installed

=== Apple Developer Tools ===

Xcode 7.3.1 (10188.1)
Build 7D1014

=== Xamarin.iOS ===

Version: 9.10.0.38 (Xamarin Business)
Hash: 03febb9
Branch: cycle8
Build date: 2016-07-30 12:55:52-0400

=== Xamarin.Android ===

Version: 6.2.0.23 (Xamarin Business)
Android SDK: /Users/PFJ/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		5.1    (API level 22)
		6.0    (API level 23)

SDK Tools Version: 25.2.1 rc1
SDK Platform Tools Version: 24.0.1
SDK Build Tools Version: 24.0.1

Java SDK: /usr
java version "1.8.0_102"
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Android Player ===

Not Installed

=== Xamarin.Mac ===

Version: 2.10.0.38 (Xamarin Business)

=== Build Information ===

Release ID: 601005298
Git revision: 54c11312fc21b9beeaa6e6279a943ab94da0f599
Build date: 2016-08-01 15:23:44-04
Xamarin addins: 7d87728fe95cd705d37866eb55bb9da3cbb83984
Build lane: monodevelop-lion-cycle8

=== Operating System ===

Mac OS X 10.12.0
Darwin Pauls-MacBook-Pro.local 16.0.0 Darwin Kernel Version 16.0.0
    Tue Jul 26 18:32:56 PDT 2016
    root:xnu-3789.1.4.1.1~1/RELEASE_X86_64 x86_64

=== Enabled user installed addins ===

StyleCop Support 1.0.1.9
Redth's Addins 1.0.2
XamlStyler 1.0.1
Comment 1 Jonathan Pryor 2016-08-04 00:29:58 UTC
One issue is that the Alpha is apparently shipping API-24 bindings, which we didn't intend to do yet. That should be fixed in the next Alpha release.

That aside, I wouldn't expect the inclusion of API-24 bindings to cause these errors. 

@Dean: Thoughts?
Comment 2 dean.ellis 2016-08-04 07:50:04 UTC
We need the full diagnostic build output so we can figure out why the Xamarin.Android.Build.Tasks cannot be loaded.
Comment 3 Paul Johnson 2016-08-04 09:05:23 UTC
How annoying! Moved back to the alpha package and now can't get it to generate the error. Ugh!

I am though getting a different error when using XAP which may or may not be related. If it isn't, I'll open a new bug

Build started 04/08/2016 09:54:55.
__________________________________________________
Project "/Users/PFJ/Developer/WODTASTIC/Mobile/WODTastic/WODTasticMobile/WODTasticMobile.Droid/WODTasticMobile.Droid.csproj" (SignAndroidPackage target(s)):
	
	Target _BuildSdkCache:
	Skipping target "_BuildSdkCache" because its outputs are up-to-date.
	
	Target _SetupInstantRun:
		Dex Fast Deployment Enabled: False
	
	Target _SetupApplicationJavaClass:
		Application Java class: android.app.Application
	
	Target PrepareForBuild:
		Configuration: Debug Platform: AnyCPU
	
	Target ResolveProjectReferences:
		Project "/Users/PFJ/Developer/WODTASTIC/Mobile/WODTastic/WODTasticMobile/WODTasticMobile/WODTasticMobile.csproj" (GetTargetPath target(s)):
			
			Target BclBuildValidateNugetPackageReferences:
:  warning : All projects referencing WODTasticMobile.csproj must install nuget package Microsoft.Bcl.Build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317569.
		Done building project "/Users/PFJ/Developer/WODTASTIC/Mobile/WODTastic/WODTasticMobile/WODTasticMobile/WODTasticMobile.csproj".
		
	
	Target _BuildSdkCache:
	Skipping target "_BuildSdkCache" because its outputs are up-to-date.
	
	Target PrepareForBuild:
		Configuration: Debug Platform: AnyCPU
	
	Target _GenerateAndroidAssetsDir:
	Skipping target "_GenerateAndroidAssetsDir" because its outputs are up-to-date.
	
	Target _ResolveMonoAndroidSdks:
		MonoAndroid Tools: /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/mandroid/
		MonoAndroid Binaries: /Library/Frameworks/Xamarin.Android.framework/Versions/Current/bin/
		Android Platform API level: 24
		TargetFrameworkVersion: v6.0
		Android NDK: /Users/PFJ/Library/Developer/Xamarin/android-ndk/android-ndk-r11c/
		Android SDK: /Users/PFJ/Library/Developer/Xamarin/android-sdk-macosx/
		Android SDK Build Tools: /Users/PFJ/Library/Developer/Xamarin/android-sdk-macosx/build-tools/23.0.0/
		Java SDK: /usr/
	
	Target _ValidateAndroidPackageProperties:
		  PackageName: com.ceeqtechnology.WODTASTIC
	
	Target _ResolveLibraryProjectImports:
	Skipping target "_ResolveLibraryProjectImports" because its outputs are up-to-date.
	
	Target _BuildLibraryImportsCache:
	Skipping target "_BuildLibraryImportsCache" because its outputs are up-to-date.
	
	Target _BuildAdditionalResourcesCache:
	Skipping target "_BuildAdditionalResourcesCache" because its outputs are up-to-date.
	
	Target _CreateAdditionalResourceCache:
	Skipping target "_CreateAdditionalResourceCache" because its outputs are up-to-date.
	
	Target _GenerateAndroidResourceDir:
	Skipping target "_GenerateAndroidResourceDir" because its outputs are up-to-date.
	
	Target _UpdateAndroidResgen:
	Skipping target "_UpdateAndroidResgen" because its outputs are up-to-date.
	
	Target _GenerateJavaDesignerForComponent:
	Skipping target "_GenerateJavaDesignerForComponent" because its outputs are up-to-date.
	
	Target GenerateSatelliteAssemblies:
	No input files were specified for target GenerateSatelliteAssemblies, skipping.
	
	Target GenerateTargetFrameworkMonikerAttribute:
	Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
	
	Target _CoreXamlG:
	No input files were specified for target _CoreXamlG, skipping.
	
	Target CoreCompile:
	Skipping target "CoreCompile" because its outputs are up-to-date.
	
	Target XamlC:
		Compiling Xaml
		
Assembly: obj/Debug/WODTasticMobile.Droid.dll
		ReferencePath: 	/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v6.0/Mono.Android.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/mscorlib.dll;../../packages/OxyPlot.Core.1.0.0-unstable1983/lib/portable-net45+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1+Xamarin.iOS10/OxyPlot.dll;../../packages/OxyPlot.Xamarin.Android.1.0.0-unstable1983/lib/MonoAndroid10/OxyPlot.Xamarin.Android.dll;../../packages/SQLite.Net.Core-PCL.3.1.1/lib/portable-win8+net45+wp8+wpa81+MonoAndroid1+MonoTouch1/SQLite.Net.dll;../../packages/SQLite.Net-PCL.3.1.1/lib/MonoAndroid/SQLite.Net.Platform.XamarinAndroid.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Core.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Xml.Linq.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Xml.dll;../../packages/Xamarin.Android.Support.Animated.Vector.Drawable.23.3.0/lib/MonoAndroid403/Xamarin.Android.Support.Animated.Vector.Drawable.dll;../../packages/Xamarin.Android.Support.Design.23.3.0/lib/MonoAndroid43/Xamarin.Android.Support.Design.dll;../../packages/Xamarin.Android.Support.v4.23.3.0/lib/MonoAndroid403/Xamarin.Android.Support.v4.dll;../../packages/Xamarin.Android.Support.v7.AppCompat.23.3.0/lib/MonoAndroid403/Xamarin.Android.Support.v7.AppCompat.dll;../../packages/Xamarin.Android.Support.v7.CardView.23.3.0/lib/MonoAndroid403/Xamarin.Android.Support.v7.CardView.dll;../../packages/Xamarin.Android.Support.v7.MediaRouter.23.3.0/lib/MonoAndroid403/Xamarin.Android.Support.v7.MediaRouter.dll;../../packages/Xamarin.Android.Support.v7.RecyclerView.23.3.0/lib/MonoAndroid403/Xamarin.Android.Support.v7.RecyclerView.dll;../../packages/Xamarin.Android.Support.Vector.Drawable.23.3.0/lib/MonoAndroid403/Xamarin.Android.Support.Vector.Drawable.dll;../../packages/Microsoft.Net.Http.2.2.29/lib/monoandroid/System.Net.Http.Extensions.dll;../../packages/Microsoft.Net.Http.2.2.29/lib/monoandroid/System.Net.Http.Primitives.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Net.Http.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Json.dll;../../packages/Newtonsoft.Json.9.0.1/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll;../../Components/xamarin.auth-1.2.3.1/lib/android/Xamarin.Auth.Android.dll;../../packages/Microsoft.Azure.Mobile.Client.2.1.1/lib/monoandroid/Microsoft.WindowsAzure.Mobile.dll;../../packages/Microsoft.Azure.Mobile.Client.2.1.1/lib/monoandroid/Microsoft.WindowsAzure.Mobile.Ext.dll;../../packages/Xamarin.Forms.2.3.2.118-pre1/lib/MonoAndroid10/FormsViewGroup.dll;../../packages/Xamarin.Forms.2.3.2.118-pre1/lib/MonoAndroid10/Xamarin.Forms.Core.dll;../../packages/Xamarin.Forms.2.3.2.118-pre1/lib/MonoAndroid10/Xamarin.Forms.Platform.Android.dll;../../packages/Xamarin.Forms.2.3.2.118-pre1/lib/MonoAndroid10/Xamarin.Forms.Platform.dll;../../packages/Xamarin.Forms.2.3.2.118-pre1/lib/MonoAndroid10/Xamarin.Forms.Xaml.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Java.Interop.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.dll;/Users/PFJ/Developer/WODTASTIC/Mobile/WODTastic/WODTasticMobile/WODTasticMobile/bin/Debug/WODTasticMobile.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/Microsoft.Win32.Primitives.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/Microsoft.Win32.Registry.AccessControl.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/Microsoft.Win32.Registry.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.AppContext.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Collections.Concurrent.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Collections.NonGeneric.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Collections.Specialized.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Collections.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ComponentModel.Annotations.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ComponentModel.EventBasedAsync.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ComponentModel.Primitives.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ComponentModel.TypeConverter.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ComponentModel.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Console.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Data.Common.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Data.SqlClient.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.Contracts.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.Debug.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.FileVersionInfo.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.Process.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.StackTrace.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.TextWriterTraceListener.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.Tools.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.TraceEvent.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.TraceSource.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.Tracing.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Drawing.Primitives.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Dynamic.Runtime.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Globalization.Calendars.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Globalization.Extensions.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Globalization.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.Compression.ZipFile.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.FileSystem.AccessControl.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.FileSystem.DriveInfo.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.FileSystem.Primitives.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.FileSystem.Watcher.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.FileSystem.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.IsolatedStorage.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.MemoryMappedFiles.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.Pipes.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.UnmanagedMemoryStream.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Linq.Expressions.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Linq.Parallel.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Linq.Queryable.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Linq.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.AuthenticationManager.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.Cache.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.HttpListener.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.Mail.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.NameResolution.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.NetworkInformation.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.Ping.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.Primitives.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.Requests.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.Security.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.ServicePoint.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.Sockets.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.Utilities.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.WebHeaderCollection.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.WebSockets.Client.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.WebSockets.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ObjectModel.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Private.CoreLib.InteropServices.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.Emit.ILGeneration.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.Emit.Lightweight.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.Emit.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.Extensions.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.Primitives.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.TypeExtensions.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Resources.ReaderWriter.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Resources.ResourceManager.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.CompilerServices.VisualC.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Extensions.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Handles.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.InteropServices.WindowsRuntime.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.InteropServices.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Numerics.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Serialization.Formatters.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Serialization.Json.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Serialization.Primitives.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Serialization.Xml.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.AccessControl.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Claims.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Algorithms.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Cng.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Csp.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.DeriveBytes.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Encoding.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Encryption.Aes.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Encryption.ECDiffieHellman.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Encryption.ECDsa.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Encryption.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Hashing.Algorithms.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Hashing.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.OpenSsl.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Pkcs.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.Primitives.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.ProtectedData.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.RSA.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.RandomNumberGenerator.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Cryptography.X509Certificates.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Principal.Windows.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Principal.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.SecureString.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ServiceModel.Duplex.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ServiceModel.Http.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ServiceModel.NetTcp.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ServiceModel.Primitives.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ServiceModel.Security.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ServiceProcess.ServiceController.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Text.Encoding.CodePages.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Text.Encoding.Extensions.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Text.Encoding.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Text.RegularExpressions.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.AccessControl.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.Overlapped.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.Tasks.Parallel.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.Tasks.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.Thread.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.ThreadPool.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.Timer.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Xml.ReaderWriter.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Xml.XDocument.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Xml.XPath.XDocument.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Xml.XPath.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Xml.XmlDocument.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Xml.XmlSerializer.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Xml.Xsl.Primitives.dll
		 Module: WODTasticMobile.Droid.dll
		
		No compiled resources. Skipping writing assembly.
	
	Target _CopyAppConfigFile:
	Skipping target "_CopyAppConfigFile" because its outputs are up-to-date.
	
	Target _CopyConfigFiles:
	Skipping target "_CopyConfigFiles" because its outputs are up-to-date.
	
	Target _ConvertPdbFiles:
	Skipping target "_ConvertPdbFiles" because its outputs are up-to-date.
	
	Target _CopyMdbFiles:
	Skipping target "_CopyMdbFiles" because its outputs are up-to-date.
	
	Target _StripEmbeddedLibraries:
	Skipping target "_StripEmbeddedLibraries" because its outputs are up-to-date.
	
	Target _GenerateJavaStubs:
	Skipping target "_GenerateJavaStubs" because its outputs are up-to-date.
	
	Target _AddStaticResources:
	Skipping target "_AddStaticResources" because its outputs are up-to-date.
	
	Target _GeneratePackageManagerJava:
	Skipping target "_GeneratePackageManagerJava" because its outputs are up-to-date.
	
	Target _DefineBuildTargetAbis:
		Build target ABI: armeabi;armeabi-v7a;arm64-v8a;x86_64;x86
	
	Target _CreateBaseApk:
	Skipping target "_CreateBaseApk" because its outputs are up-to-date.
	
	Target _CompileJava:
	Skipping target "_CompileJava" because its outputs are up-to-date.
	
	Target _CompileToDalvikWithDx:
	Skipping target "_CompileToDalvikWithDx" because its outputs are up-to-date.
	
	Target _BuildApkEmbed:
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: error : Error executing task BuildApk: Task does not have property "EmbeddedNativeLibraryAssemblies" defined
		Build FAILED.
		
Warnings:
		
		/Users/PFJ/Developer/WODTASTIC/Mobile/WODTastic/WODTasticMobile/WODTasticMobile.Droid/WODTasticMobile.Droid.csproj (SignAndroidPackage) ->
/Library/Frameworks/Mono.framework/Versions/4.6.0/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets (ResolveProjectReferences target) ->
/Users/PFJ/Developer/WODTASTIC/Mobile/WODTastic/WODTasticMobile/WODTasticMobile/WODTasticMobile.csproj (GetTargetPath) ->
/Users/PFJ/Developer/WODTASTIC/Mobile/WODTastic/packages/Microsoft.Bcl.Build.1.0.21/build/Microsoft.Bcl.Build.targets (BclBuildValidateNugetPackageReferences target) ->

			:  warning : All projects referencing WODTasticMobile.csproj must install nuget package Microsoft.Bcl.Build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317569.
		
		Errors:
		
		/Users/PFJ/Developer/WODTASTIC/Mobile/WODTastic/WODTasticMobile/WODTasticMobile.Droid/WODTasticMobile.Droid.csproj (SignAndroidPackage) ->
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets (_BuildApkEmbed target) ->

			/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: error : Error executing task BuildApk: Task does not have property "EmbeddedNativeLibraryAssemblies" defined
		
			 1 Warning(s)
			 1 Error(s)
		
		Time Elapsed 00:00:01.9493000

Package creation failed
Comment 4 dean.ellis 2016-08-04 14:22:09 UTC
Hi Paul 

Thanks for the build log, unfortunately its not a diagnostic build log. so its a bit difficult to see any details of the issue.

You can either setup Xamarin Studio [1] or build from the command line and append '/v:d'

e.g

xbuild WODTasticMobile.Droid.csproj /t:SignAndroidPackage /v:d


[1] https://forums.xamarin.com/discussion/27515/how-to-obtain-diagnostic-build-logs
Comment 5 Paul Johnson 2016-08-04 23:17:00 UTC
Created attachment 16909 [details]
Build output
Comment 6 Paul Johnson 2016-08-04 23:17:18 UTC
Output attached to comment 5
Comment 7 Paul Johnson 2016-08-05 00:33:00 UTC
Created attachment 16910 [details]
Output for original filed bug
Comment 8 Paul Johnson 2016-08-05 00:33:26 UTC
I've managed to get the output from the original bug filed here
Comment 9 dean.ellis 2016-08-05 10:55:37 UTC
Hi Paul 

thanks for the output. It looks like they are both the same issue .

File name: 'libZipSharp, Version=1.0.6054.25126, Culture=neutral, PublicKeyToken=null'

Can you do me a favour and check 

/Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/xbuild/Xamarin/Android/

You should have both LibZipSharp.dll and libzip.3.0.dylib in that directory. If you don't let us know. 

If you do have the files can you check 

tool -L libzip.3.0.dylib 

in that directory, to make sure it has all of its dependencies. Mine outputs

"/Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/xbuild/Xamarin/Android/libzip.3.0.dylib:
	/Library/Frameworks/Xamarin.Android.framework/Versions/6.1.99-403/lib/xbuild/Xamarin/Android/libzip.3.0.dylib (compatibility version 3.0.0, current version 3.0.0)
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)"

also check 

file libzip.3.0.dylib to make sure its a universal binary.
Comment 10 Paul Johnson 2016-08-05 11:04:26 UTC
Neither are in there
Comment 11 Paul Johnson 2016-08-05 11:05:01 UTC
Pauls-MacBook-Pro:~ PFJ$ ls /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/xbuild/Xamarin/Android/
FSharp.Compiler.CodeDom.dll
Ionic.Zip.dll
Irony.dll
Mono.AndroidTools.dll
Xamarin.Analysis.Compatibility.targets
Xamarin.Analysis.Tasks.dll
Xamarin.Analysis.targets
Xamarin.Android.Analysis.targets
Xamarin.Android.Bindings.targets
Xamarin.Android.Build.Tasks.dll
Xamarin.Android.CSharp.targets
Xamarin.Android.Cecil.Mdb.dll
Xamarin.Android.Cecil.dll
Xamarin.Android.Common.props
Xamarin.Android.Common.targets
Xamarin.Android.FSharp.targets
Xamarin.Android.PCLSupport.targets
Xamarin.Android.Tools.ApiXmlAnalyzer.dll
Xamarin.Android.Tools.Bytecode.dll
Xamarin.Android.VisualBasic.targets
Xamarin.AndroidTools.Aidl.dll
Xamarin.AndroidTools.dll
Comment 12 dean.ellis 2016-08-08 09:59:08 UTC
ok Paul , thanks for the info. I'll take a look at our installer script.
Comment 13 dean.ellis 2016-08-08 15:19:45 UTC
Hi Paul

I have just installed the same version you had and the libzip.3.0.dylib is there and is the correct size.

Can I suggest trying to re-install again?
You might want to delete any .pkg or .dmg files in ~/Library/Caches/XamarinStudio-6.0/TempDownload/ to make sure Xamarin Studio downloads a fresh copy.
Comment 14 dean.ellis 2016-09-22 12:00:54 UTC
This looks like i was a bad installer image. All the current installers include the libzip.3.0.dylib. So I am closing this issue as NOT_REPRODUCIBLE. 

Please reopen if this is still an issue.
Comment 15 Yaojian 2016-09-22 13:35:10 UTC
The Xamarin 6.1 release I downloaded yesterday still has this error.

The build log show:

Error executing task ResolveLibraryProjectImports: System.IO.FileNotFoundException: Could not load file or assembly or one of its dependencies.
File name: 'libZipSharp, Version=1.0.6099.33510, Culture=neutral, PublicKeyToken=null' at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Execute () [0x000c6] in <ed6f05cfdfa24159a239bb1396141854>:0 
  at Microsoft.Build.BuildEngine.TaskEngine.Execute () [0x00000] in <b1524340ac7e4c06b22fac1b2db62c08>:0 
  at Microsoft.Build.BuildEngine.BuildTask.Execute () [0x0008f] in <b1524340ac7e4c06b22fac1b2db62c08>:0 
		Done building target "_ResolveLibraryProjectImports" in project 

There is a file named as `LibZipSharp.dll` in /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/xbuild/Xamarin/Android , which is in different case than in build scripts. 

I use a MAC OSX with case-sensitive file system so I renamed the file but still got the same error.
Comment 16 Brendan Zagaeski (Xamarin Team, assistant) 2016-09-26 21:33:48 UTC
For cross-referencing: Comment 15 was filed as Bug 44667 and further investigated there.
Comment 17 davide 2016-12-21 06:19:46 UTC
I started to encounter the same problem.

A few days ago we upgraded to the latest Xamarin (both iOS and Android) and it worked fine but since yesterday I have the very same issue.

I also had a case-sensitive filesystem and I thought that was the problem. I restored from TM and changed filesystem to not case-sensitive but the error is still there.

I reinstalled Xamarin but the error is still there.

When running otool -L libzip.3.0.dylib:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: 'libzip.3.0.dylib': No such file or directory.
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool: internal objdump command failed

If the command is run from /Library/Frameworks/Xamarin.Android.framework/Versions/7.0.2-37/lib/xbuild/Xamarin/Android I get a regular output.

Isn't this just a PATH problem?
Comment 18 davide 2016-12-21 06:55:19 UTC
Sorry please discard my previous comment.

Apparently restoring from TimeMachine formatted the HD again and restore it as case-sensitive...

So to get around this issue I just linked libZipSharp to LibZipSharp:

cd: /Library/Frameworks/Xamarin.Android.framework/Versions/7.0.2-37/lib/xbuild/Xamarin/Android

ln -sf LibZipSharp.dll libZipSharp.dll
ln -sf LibZipSharp.dll.config libZipSharp.dll.config

Project now builds again