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 7278581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T22:53:38+00:00 2026-05-28T22:53:38+00:00

How do I include the mono MPAPI libraries in a program? is there a

  • 0

How do I include the mono MPAPI libraries in a program? is there a GMCS command or am I referring to the library wrong or is it for some reason not on my server?
To help, below is my mono version and the error message I get when trying to compile the code. Not seeing any good examples or documentation on this, and the program is compiling just fine in MS .NET But not mono on a remote server. =(

Here’s my mono –version:

Mono JIT compiler version 2.0.1 (tarball)
Copyright (C) 2002-2008 Novell, Inc and Contributors. http://www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC)
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none

And the error message upon trying to compile:
(relates to line: “using MPAPI;”)



    Program.cs(5,7): error CS0246: The type or namespace name `MPAPI' could not be found.
    Are you missing a using directive or an assembly reference?
    Compilation failed: 1 error(s), 0 warnings

Thanks!

  • 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-28T22:53:38+00:00Added an answer on May 28, 2026 at 10:53 pm

    How exactly do you compile it? This is usual error saying what it really is: assembly reference is missing (you can reference an assembly with -r switch, but the build system is really recommended here):

     (g)mcs -r:/path/to/MPAPI.dll Program.cs
    

    Btw, your version of Mono is very old – I definitely recommend getting more recent one.

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

Sidebar

Related Questions

I wanted to know what would some good libraries, IDE's, extras, for C# (include
include 'header.php'; // ... some code header('Location:index.php'); exit; The above code keeps giving me
I am attempting to implement some additional statistics gathering in a C# server application
I'm attempting to compile some C# with gmcs version 2.11.0 that includes System.Tuple. Supposedly
What is wrong in this code even the printf is not working. but it's
I have installed mono platform on my Linux server and I was able to
I'm trying to compile a C# script with Mono on Debian by command line,
I'm experimenting with hosting CLR (not trying to use mono for now, though I
Consider the following C program: #include <stdio.h> #include <stdarg.h> typedef void callptr(); static void
I'm wondering if mono.net is included in the default installation of Ubuntu, Kubuntu, and

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.