OmniSharp / omnisharp-server

HTTP wrapper around NRefactory allowing C# editor plugins to be written in any language.
http://www.omnisharp.net
MIT License
380 stars 97 forks source link

Could not load type 'System.Net.HttpListener' with MonoFramework-MDK-4.4.1.0.macos10.xamarin.universal.pkg #219

Closed pass86 closed 7 years ago

pass86 commented 8 years ago

Need reference Mono.Security in OmniSharp.sln.

randomize commented 8 years ago

Solved by adding this reference to main project, thanks for the hint

diff --git a/OmniSharp/OmniSharp.csproj b/OmniSharp/OmniSharp.csproj
index 9daa043..00babbc 100644
--- a/OmniSharp/OmniSharp.csproj
+++ b/OmniSharp/OmniSharp.csproj
@@ -84,6 +84,7 @@
     <Reference Include="System" />
     <Reference Include="System.Configuration" />
     <Reference Include="System.Core" />
+    <Reference Include="Mono.Security" />
     <Reference Include="System.Xml" />
     <Reference Include="System.Xml.Linq" />
     <Reference Include="monodoc">