In my solution created with MonoDevelop (3.0.3.5) I have 3 projects:
- MonoTouch project with UI,
- MonoTouch Library project with iOS specific code,
- Portable Library project with domain model.
The Portable Library project won't compile, and shows warning symbols on the references (System, System.Core, System.Xml) in MonoDevelop. When I unfold the assembly reference, the following error message is shown:
Assembly not available in .NETPortable 4.0 Profile1 Profile (in Mono 2.10.9)
Same problem reported in this forum thread.
Does anyone have the same problem and is able to solve it?
Update
Demo solution with the build errors can be found on GitHub here (bgever/plp-build-error).
I found out that although the error messages are shown, basic code can be compiled and works as expected.
However, the two variants of build errors preventing the demo solution from compiling are:
public T Get<T> (Expression<Func<T, bool>> predicate) where T : new() {
Using the generic type
System.Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>' requires
10' type argument(s) (CS0305)
So it seems that the 2 argument generic overload Func<T, TResult>
is not supported?
public void RunInTransaction (Action action) {
Using the generic type
System.Action<T>' requires
1' type argument(s) (CS0305)
So it seems that the non-generic version of Action
cannot be found?