Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm still a newbie, but I wrote a program in Visual Studio Express 2012 on Windows with references to an API through a .dll and .NET framework 4.0. If I try it on Ubuntu, I get messages like "Could Not Load File Or Assembly". Is there a way to run this on Ubuntu? If so, how do I get it to work?

share|improve this question
What kind of dll? Does your program use a Windows native dll, or is the dll itself an assembly? That is, is the dll a "normal" windows library or is it a .NET library like your program? – Eliah Kagan Aug 1 '13 at 19:32
It's a .NET library. – PersonPlant Aug 1 '13 at 19:49

Some applications will run on ubuntu using mono. In general support for them is not as good as for c#.

You can run your application from the commandline as follows:

mono YourAssembly.exe
share|improve this answer
trampster Unfortunately, that didn't work. I thought that maybe I was doing it wrong, but it looks like that just wasn't possible. Thanks though. – PersonPlant Aug 2 '13 at 16:18

Yes you can do that simply installing mono on your ubuntu as follows

sudo apt-get install mono-complete

After installation of mono

mono test.exe

If you want to browse more about mono visit:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.