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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T08:56:30+00:00 2026-06-11T08:56:30+00:00

I have downloaded and installed the Mono framework onto my Win7 development machine. I

  • 0

I have downloaded and installed the Mono framework onto my Win7 development machine. I then followed the instructions here to have Visual Studio 2010 allow targeting of the Mono framework instead of .NET. I then create this test console app using VB with the target framwework set “Mono 2.10.8 profile” in the project’s Advanced Compile Options:

Dim runningOnMono As Boolean = Not IsNothing(Type.GetType("Mono.Runtime"))
Console.WriteLine("Running on Mono =  " & runningOnMono.ToString)

When I run this on the Win7 dev machine it returns False i.e. not running on Mono. When I run the program on a Linux machine that only has Mono installalled it returns True.

I can reference parts of the Mono framework in VS and intellisense works, but when I make this call:

Dim monoinf As New Mono.Unix.UnixDriveInfo("g:")

I get this exception:

===================================

FileNotFoundException was unhandled: Could not load file or assembly ‘Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756’ or one of its dependencies. The system cannot find the file specified.

===================================

Mono.Posix.dll version 4.0.0.0 does exist in many directories including the one created specifically for the VS Mono profile. I even tried copying it to the test app’s directory.

Is it just that my mono install on the Win7 box is a mess? How can it be that intellisense works but the call to Type.GetType(“Mono.Runtime”) returns Nothing ?

The resaon I am trying to target Mono is because the class System.IO.DriveInfo does not work on Mono so I think I have to use Mono.Unix.UnixDriveInfo if I want to run on Windows and Linux. I need to get the free space of a USB flash drive.

Thanks for any help.

  • 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-06-11T08:56:31+00:00Added an answer on June 11, 2026 at 8:56 am

    You already target Mono by following the blog post, but you should use mono.exe to launch your executable (test.exe as example) at Mono command prompt,

    mono.exe test.exe

    That’s the only way Mono runtime is loaded instead of .NET Framework on Windows.

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

Sidebar

Related Questions

I have a visual studio 2008. I have downloaded and installed a .NET 4.0
I have downloaded and installed Visual Studio Express 2012 for Web but I am
I have downloaded and installed ActivePerl on my Windows 7-64 machine. Everything went smooth,
I have download and installed Visual Studio 2010 RC and I want to develop
I have downloaded a Visual Studio extension. How can I install it to Visual
I have downloaded and installed Visual Web Developer 2010 Express and ASP.NET MVC 3.
I am a new comer in Android development, I have downloaded and installed the
Running on W7, php5.3.5. I have downloaded and installed Zend framework files. Now I'm
I have downloaded and installed Eclipse for PHP Developers from here: http://www.eclipse.org/downloads/ I also
I have downloaded and installed the RC version of the VS2012 VS2012_RC_ULT_ENU.iso . Now,

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.