Note that there are some explanatory texts on larger screens.

plurals
  1. POMonoDevelop Intellisense not showing all items in PCL
    text
    copied!<p>I'm currently building a MonoTouch app, and want to share as much code as possible between it and any other future platforms. I figured the best way would be to use a PCL for the common code.</p> <p>Problem goes that when I try and reference System.Collection.Generic.List&lt;T&gt; in my PCL library, MOnoDevelop highlights the List text in red (as if to say the reference can't be found), but when I build the project, the compiler has no problems and builds it normally...</p> <p>For instance, I can have the following code in my PCL </p> <blockquote> <p><img src="https://i.imgur.com/SpPZq.png" alt="MonoDevelop highlighting incorrect resolve errors"></p> </blockquote> <p>and MD will compile this just fine, and this method can be consumed from my MT app.</p> <p>However it's frustrating to work with as it's misleading me along the way into thinking that code which should compile won't, and I'm missing a lot of the benefits of IntelliSense.</p> <p>I've tried the solution listed <a href="https://stackoverflow.com/questions/12041290/monodevelop-is-it-possible-to-switch-pcls-compiler/12062589#12062589">about switching the compiler</a>, but that hasn't helped. Hope someone has suggestions on how to fix this?</p> <p>For interests sake, here's what intellisense gives me for the System.Collections.Generic namespace (there's one item out of view in that list - Stack&lt;T&gt;)</p> <blockquote> <p><img src="https://i.imgur.com/oCxpV.png" alt="IntelliSense listing of System.Collections.Generic in MonoDevelop with PCL project"></p> </blockquote> <p>Should also mention that i'm using MonoDevelop v3.0.5, Mono v2.10.9, MT v6.0.6</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload