Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6947297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:40:33+00:00 2026-05-27T13:40:33+00:00

Problem I freshly installed mono on OS X Lion, compiled and ran my first-ever

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T13:40:34+00:00Added an answer on May 27, 2026 at 1:40 pm

    Apparently google couldn’t find it either, so they wrote there own api-compatible version:

    Here’s a workaround:

    1. Compile Google’s version as a library

      wget 'http://google-gdata.googlecode.com/svn/trunk/clients/cs/src/core/HttpUtility.cs'
      gmcs -t:library HttpUtility.cs
      
    2. Edit GoogleExample.cs to include that namespace

      using Google.GData.Client; // where HttpUtility lives
      
    3. Recompile using the library

      gmcs GoogleExample.cs -r:System.Web.Services -r:System.Web -r:HttpUtility
      

    Side Note: the RegEx (or perhaps URL) in the example GoogleExample.cs is out of date, so it never returns results, but at least it compiles and runs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got problem with connecting to MySQL database on my freshly installed Windows 7
My iPhone app has the following problem: Freshly installed, when I read out my
I've got problem with look of freshly installed Eclipse in my Ubuntu 10.04. The
I freshly installed Boost 1.44 with the latest available installer from http://www.boostpro.com/download/ . Then
A freshly installed TFS 2010 is at http://serverX:8080/tfs . A Windows 7 developer machine
I'm trying to install Graphics32 to my freshly installed Embarcadero RAD Studio XE. I
that's my first post here. I have problem with managing activities. I have my
Problem: user made some selection in the multi-selection listbox, then pressed a checkbox, and
My application calls a few web services when it is freshly launched. I would
Problem: I'm making a web service that allows developers to 'register' their Mongoose schemas

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.