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

  • Home
  • SEARCH
  • 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 6196791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:42:14+00:00 2026-05-24T03:42:14+00:00

I am running a C# executable which was built with a reference to a

  • 0

I am running a C# executable which was built with a reference to a .Net library. The .NetLibrary is a wrapper around a C++ library, which resides in another folder (separate folder from the .NetLibrary).

The C++ library is in /usr/local bin
The .Net library is in /projects/csharp/NetWrapperProj/bin/Debug
The executable is in /projects/csharp/testharness/bin/Debug

As you may have guessed from the paths, I am running .Net using mono on Linux (Ubuntu 10.0.4).
mono version 2.10.

How may I specify the required binaries to the executable – to avoid Unhandled Exception: System.IO.FileNotFoundException type exceptions being thrown?

  • 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-24T03:42:15+00:00Added an answer on May 24, 2026 at 3:42 am

    Normally, the DLLs/Libraries need to be in the same directory as the executable. From the Mono website:

    If a library location has not been explicitly specified in a DllMap
    entry in an application or assembly .config file, Mono will search for
    a library in a few places:

    • The directory where the referencing image was loaded from.
    • In any place the system’s dynamic loader is configured to look
      for shared libraries. For example on Linux this is specified in the
      $LD_LIBRARY_PATH environment variable and the /etc/ld.so.conf file. On
      windows the $PATH environment variable is used, instead.

    You can read more at the Mono website on how to remedy this problem.

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

Sidebar

Related Questions

I want to build mod_wsgi against a Python which I have built myself from
We have built a Windows Service that is running on client's machines, which occasionally
I am running a build script in which three executable files (100mb each) are
I am running an executable in a batch file with two parameters; cmd /k
I need to get the path (not the executable) where my application is running
Is there a way to retreive the path of the executable that is running
Running OS X Leopard an MacBook Pro from Jan. 2008. I used to run
There is a web service running on tomcat on a server. It is built
I have a gem, roundhouse , which is an application compiled with .NET (C#).
I've written an ASP.NET 2.0 web service which is consumed by a web application

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.