Problem
I freshly installed mono on OS X Lion, compiled and ran my first-ever csharp "hello world", and then attempted a web request...
But I'm missing HttpUtility.
gmcs GoogleExample.cs -r:System.Web.Services -r:System.Web
GoogleExample.cs(14,32): error CS0103: The name `HttpUtility' does not exist in the current context
Compilation failed: 1 error(s), 0 warnings
What to do?
History
I code C, NodeJS, Python, Ruby, etc. No noob to programming, just to mono.
I just installed mono (MRE Runtime, MDK, and MonoDevelop) on OS X via these instructions: http://www.go-mono.com/mono-downloads/download.html
Then I went off to play hello world with these instructions: http://www.mono-project.com/Mono_Basics
And now I want to create a web request following this tutorial: http://www.codeproject.com/KB/cross-platform/introtomono1.aspx?msg=3229009
End Goal: Naturally, I want to create a JSON-based chat server as my first csharp project.
gmcsin the first place. Is there another SDK not listed on that downloads page I should be looking for? - coolaj86usingstatement in your program? could we take a look at your code? - madd0GoogleExample.cs. I was just looking on another SO post and it mentions that there's a difference between "Client" and "Full" frameworks: stackoverflow.com/questions/2405182/…. Perhaps this is related? - coolaj86