System.ComponentModel.AddingNewEventArgs does not exist in Mono for Android API [*1] and this should be indeed rejected. Aren't you using some code that was not built under Mono for Android profile?

In that case, since we upgraded our internal assembly engineering library (cecil) and we made couple of improvements on assembly engineering in Mono for Android 4.2, it is possible that our new code correctly reject unexpected type usage (which can be either publicly or internally).

So, please make sure that your app or dependent libraries are built with Mono for Android.

[*1] http://docs.mono-android.net/?link=N%3aSystem.ComponentModel

Thanks,
Atsushi Eno

nino wrote:
After I upgraded to Mono Android 4.2.1 I`m getting this error when I`m
building my solution:

The "LinkAssemblies" task failed unexpectedly.
Mono.Cecil.ResolutionException: Failed to resolve
System.ComponentModel.AddingNewEventArgs
    at Mono.Linker.Steps.MarkStep.MarkType(TypeReference reference)
    at Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body)
    at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method)
    at Mono.Linker.Steps.MarkStep.ProcessQueue()
    at Mono.Linker.Steps.MarkStep.Process()
    at Mono.Linker.Steps.MarkStep.Process(LinkContext context)
    at Mono.Linker.Pipeline.Process(LinkContext context)
    at MonoDroid.Tuner.Linker.Process(LinkerOptions options, LinkContext&
context)
    at Xamarin.Android.Tasks.LinkAssemblies.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)
Mediawire.PrintStand.Mobile.Presentation


So, can you please help me.
Regards,
Nino


--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/I-m-getting-an-error-Mono-Cecil-ResolutionException-tp5709962.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




_______________________________________________
Monodroid mailing list
[email protected]

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

Reply via email to