[Mono-list] Problem running simple VS2008 Assembly on Kubuntu

jhsoper john.soper at gmail.com
Sat Jan 24 20:19:55 EST 2009

Greetings All,

I've done my best to try and search the forum archives to no avail.  This
seems like it might be a common problem.

I built a simple C# .NET app on my WinXP machine and am having trouble
getting it to run on my Kubuntu 8.10 machine under mono.

Here's what I try:

mono monoTestApplication.exe
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/lib/mono/2.0/mscorlib.dll'

Now, I don't have MonoDevelop installed on the Kubuntu machine and
specifically don't want to as I wan't to test an end user scenario.

I installed Mono in the following manner:

sudo apt-get install mono-jit

Here's the output:

Reading package lists... Done                                                
Building dependency tree                                                     
Reading state information... Done                                            
The following packages were automatically installed and are no longer
  linux-headers-2.6.27-7 linux-headers-2.6.27-7-generic                        
Use 'apt-get autoremove' to remove them.                                       
The following extra packages will be installed:                                
  binfmt-support mono-common                                                   
The following NEW packages will be installed:                                  
  binfmt-support mono-common mono-jit                                          
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 1004kB of archives.
After this operation, 3039kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com intrepid/main binfmt-support 1.2.11
Get:2 http://us.archive.ubuntu.com intrepid/main mono-common
1.9.1+dfsg-4ubuntu2 [118kB]
Get:3 http://us.archive.ubuntu.com intrepid/main mono-jit
1.9.1+dfsg-4ubuntu2 [864kB]
Fetched 1004kB in 43s (23.0kB/s)
Selecting previously deselected package binfmt-support.
(Reading database ... 111593 files and directories currently installed.)
Unpacking binfmt-support (from .../binfmt-support_1.2.11_all.deb) ...
Selecting previously deselected package mono-common.
Unpacking mono-common (from .../mono-common_1.9.1+dfsg-4ubuntu2_amd64.deb)
Selecting previously deselected package mono-jit.
Unpacking mono-jit (from .../mono-jit_1.9.1+dfsg-4ubuntu2_amd64.deb) ...
Processing triggers for man-db ...
Setting up binfmt-support (1.2.11) ...
update-binfmts: warning: /usr/share/binfmts/cli: no executable /usr/bin/cli
found, but continuing anyway as you request
 * Enabling additional executable binary formats binfmt-support                                   
[ OK ]

Setting up mono-common (1.9.1+dfsg-4ubuntu2) ...
update-binfmts: warning: /usr/share/binfmts/cli: no executable /usr/bin/cli
found, but continuing anyway as you request

Setting up mono-jit (1.9.1+dfsg-4ubuntu2) ...

Any help you can give would be greatly appreciated.

View this message in context: http://www.nabble.com/Problem-running-simple-VS2008-Assembly-on-Kubuntu-tp21631623p21631623.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list