This generally means that one of your assemblies does not target the Mono for Android profile.

The issue is that in early versions of .NET, Func`2 is in System.Core.dll, and then later it moved to mscorlib.dll.

You need to ensure that all your assemblies target the Mono for Android profile.

Jonathan


On 5/10/2012 12:50 PM, Tossing, Chris wrote:
I’m trying to convert to the references to our common libraries from
project references to dlls, so that we can have only one project per
assembly instead of four. It builds fine, but when I try to deploy to a
device, I am getting the following:

C:\Program Files
(x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(524,5): error
MSB4018: Mono.Cecil.ResolutionException: Failed to resolve System.Func`2
[C:\TFS\TCSource\branches\Dev-Mobile\Mobile\App\OfMobileMD\OFMobileMD.csproj]

Thank you,

*Chris Tossing*

Software Engineer

G4S Technology Software Solutions LLC

Direct Dial: +1 (781) 457-0779

Cell: +1 (847) 942-0359

[email protected] <mailto:[email protected]>

www.1f.com <http://www.1f.com/>

21 North Avenue, Burlington, Massachusetts 01803 USA

P *Please consider the environment before printing this email*


------------------------------------------------------------------------
The details of this company are as follows:
G4S Technology Limited, Registered Office: Challenge House,
International Drive, Tewkesbury, Gloucestershire GL20 8UQ, Registered in
England No. 2382338.

This communication may contain information which is confidential,
personal and/or privileged.

It is for the exclusive use of the intended recipient(s).
If you are not the intended recipient(s), please note that any
distribution, forwarding, copying or use of this communication or the
information in it is strictly prohibited.

Any personal views expressed in this e-mail are those of the individual
sender and the company does not endorse or accept responsibility for them.

Prior to taking any action based upon this e-mail message, you should
seek appropriate confirmation of its authenticity.

This e-mail has been scanned for all viruses by MessageLabs.


_______________________________________________
Monodroid mailing list
[email protected]

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

_______________________________________________
Monodroid mailing list
[email protected]

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

Reply via email to