Wednesday, January 30, 2013

If PCLs will not build for you in MonoDevelop for MonoTouch

If you find Portable Class Libraries will not build for you in MonoTouch - especially if you find you get messages about Func, Action, "method not available System.Linq.Extensions.Aggregate" and all sorts of other mscorlib type errors, then the fix for this may be: http://stackoverflow.com/questions/12041290/monodevelop-is-it-possible-to-switch-pcls-compiler/12062589#12062589

This has been reported and fixed before:

- https://bugzilla.xamarin.com/show_bug.cgi?id=6649
- https://bugzilla.xamarin.com/show_bug.cgi?id=7174

But it doesn't seem to want to stay fixed :/

The fixed file is available on: https://files.xamarin.com/~jeff/Microsoft.Portable.CSharp.targets

No comments:

Post a comment