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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T00:19:51+00:00 2026-05-11T00:19:51+00:00

Does anyone know, or have a link to an article or a step by

  • 0

Does anyone know, or have a link to an article or a step by step tutorial, that would tell me how to distribute a .net MONO application with a minimum install? The full package of Mono is like 75 MB but I know al lot of that is the compiler and libraries that I don’t need.

I just want the minimum runtime files.

What files would I need to distribute for a simple ‘Hello World’ WinForms app?

I tried just deleting files until I came up with something that worked but it only worked on the machine that had Mono installed on it. Here are the files I tried

I created a directory for my app. In that directory I created two more directories

  • \bin
  • \lib\mono\2.0

in the \mono\lib\mono\2.0 I put the mscorlib.dll file in the \bin directory I put the following

  • Accessibility.dll
  • MyApp.exe (this is the basic World I did in VS2005)
  • iconv.dll,
  • intl.dll,
  • libglib-2.0-0.dll,
  • libgthread-2.0-0.dll,
  • Microsoft.VisualBasic.dll,
  • mono.dll,
  • mono.exe,
  • Mono.Posix.dll,
  • System.dll,
  • System.Drawing.dll,
  • System.Windows.Forms.dll

Then, from the \bin directory I ran ‘mono MyApp.exe‘ and it worked on my Mono installed machine but no others.

What I’d prefer is an ‘xcopy’ solution where there would be no actual installation necessary but just need the runtime files included (like when you run from a thumb drive)

Please note that this is to run on a Windows computer, not a Linux box.


I tried running mkbundle2 (it is a .net 2.0 app) and got this error

C:\Program Files\Mono-2.0.1\bin>mkbundle2
C:\Projects\SingleExeTest\bin\Release\SingleExeTest.exe –deps OS is:
Windows Sources: 1 Auto-dependencies: True embedding:
C:\Projects\SingleExeTest\bin\Release\SingleExeTest.exe embedding:
C:\PROGRA~1\MONO-2~1.1\lib\mono\2.0\mscorlib.dll embedding:
C:\PROGRA~1\MONO-2~1.1\lib\mono\2.0\Microsoft.VisualBasic.dll
embedding: C:\PROGRA~1\MONO-2~1.1\lib\mono\2.0\System.dll
embedding:
C:\PROGRA~1\MONO-2~1.1\lib\mono\2.0\System.Configuration.dll
embedding: C:\PROGRA~1\MONO-2~1.1\lib\mono\2.0\System.Xml.dll
embedding: C:\PROGRA~1\MONO-2~1.1\lib\mono\2.0\System.Security.dll
embedding: C:\PROGRA~1\MONO-2~1.1\lib\mono\2.0\Mono.Security.dll
embedding:
C:\PROGRA~1\MONO-2~1.1\lib\mono\2.0\System.Windows.Forms.dll
embedding: C:\PROGRA~1\MONO-2~1.1\lib\mono\2.0\System.Drawing.dll
embedding: C:\PROGRA~1\MONO-2~1.1\lib\mono\2.0\System.Data.dll
embedding: C:\PROGRA~1\MONO-2~1.1\lib\mono\2.0\Mono.Data.Tds.dll
embedding: C:\PROGRA~1\MONO-2~1.1\lib\mono\2.0\System.Transactions.dll
embedding:
C:\PROGRA~1\MONO-2~1.1\lib\mono\2.0\System.EnterpriseServices.dll
embedding: C:\PROGRA~1\MONO-2~1.1\lib\mono\2.0\Mono.WebBrowser.dll
embedding: C:\PROGRA~1\MONO-2~1.1\lib\mono\2.0\Mono.Posix.dll
embedding: C:\PROGRA~1\MONO-2~1.1\lib\mono\2.0\Accessibility.dll
Compiling: as -o temp.o temp.s

Unhandled Exception: System.ComponentModel.Win32Exception:
ApplicationName=’sh’, CommandLine=’-c "as -o temp.o temp.s "’,
CurrentDirectory=” at System.Diagnostics.Process.Start_noshell
(System.Diagnostics.ProcessStartIn fo startInfo,
System.Diagnostics.Process process) [0x00000] at
System.Diagnostics.Process.Start_common
(System.Diagnostics.ProcessStartInf o startInfo,
System.Diagnostics.Process process) [0x00000] at
System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo
start Info) [0x00000] at MakeBundle.Execute (System.String cmdLine)
[0x00000] at MakeBundle.GenerateBundles
(System.Collections.ArrayList files) [0x00000] at MakeBundle.Main
(System.String[] args) [0x00000]

C:\Program Files\Mono-2.0.1\bin>\

  • 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. 2026-05-11T00:19:51+00:00Added an answer on May 11, 2026 at 12:19 am

    looks like I got it working!

    I had to install Mono in c:\mono instead of c:\program files\mono

    I guess it didn’t like the spaces.

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

Sidebar

Ask A Question

Stats

  • Questions 71k
  • Answers 71k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer I just tried it on shell.appspot.com and it seems to… May 11, 2026 at 1:11 pm
  • added an answer Just create the login used by the monitor code. On… May 11, 2026 at 1:11 pm
  • added an answer Resource Hacker is a free tool that allows you to… May 11, 2026 at 1:11 pm

Related Questions

No related questions found

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.