Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Cant Compile SharpDevelop 5.0.0.3654 after adding any library reference.

$
0
0

Upon downloading the lastest build of sharpDevelop 5.0.0.xxxx I can compile the application ok, 

However after I add a new library of my own (any library at all even a empty new one) and do a recompile it also triggers a recompile of the ICSharpCode.NRefactory library. 

The problem is that the ICSharpCode.NRefactory library wont compile due to 

"Error9Cannot implicitly convert type 'System.Collections.Generic.IList<T2>' to 'System.Collections.Generic.IReadOnlyList<T2>'. An explicit conversion exists (are you missing a cast?)"

When I then take a look where EmptyList<T> is defined there is a #if  NET_4_5 preprocessor definition that is greyed out thereby rendering the interface IReadonlyList<T> undefined. 

What is requirered to ensure that NET_4_5 is present. Note: that I have made sure .Net framework 4.5 is installed. 


Viewing all articles
Browse latest Browse all 1764

Trending Articles