I have two android libraries that are included in my main application. There
appears to be a problem in 4.1.1 building an Android application that links
to to an Android library. When I build the application, I get the following
error:

Error   1       The "ResolveLibraryProjectImports" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load assembly
'AndroidClassLibrary1, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null'. Perhaps it doesn't exist in the Mono for Android
profile?
File name: 'AndroidClassLibrary1.dll'
   at Monodroid.Tuner.MonoDroidResolver.Resolve(AssemblyNameReference
reference, ReaderParameters parameters)
   at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Execute()
   at
Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at
Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost
taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost,
ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult)
AndroidApplication1

I created a simple example that reproduces this problem and attached it to
this post. AndroidClassLibrary1.dll is included in AndroidApplication1, and
AndroidApplication1 fails to build with the error above.

Matt

http://mono-for-android.1047100.n5.nabble.com/file/n5672918/BuildProblem.zip
BuildProblem.zip 



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/ResolveLibraryProjectImports-task-fails-when-referencing-library-tp5672918p5672918.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to