On Jul 27, 2011, at 10:41 PM, pbreckon wrote:
> I'm trying to deploy a project using Mono for Android, referencing the Mono
> build of log4net, v2.
> 
> It compiles ok, but when i try and deploy it i get the following in Output:

Key error:

> MANDROID : error : while loading assemblies:
> System.IO.FileNotFoundException: Could not load assembly 'Microsoft.VisualC, 
> Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
> Perhaps it doesn't exist in the Mono for Android profile?

Which is in fact the case: the Microsoft.VisualC.dll assembly is not provided 
with Mono for Android.

Furthermore, based on the response later in the thread:

> I'm using the copy found in incubating-log4net-1.2.10.zip, under
> log4net-1.2.10\bin\mono\2.0\release

Given a "2.0" directory name, I highly doubt that it was compiled against the 
Silverlight-esque profile that Mono for Android uses.

In short, you'll need to recompile log4net yourself, referencing the 
appropriate assemblies, and probably removing the assembly reference for 
Microsoft.VisualC.dll.

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

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

Reply via email to