[Mono-list] Installing mono from RHEL RPM - Missing System.Runtime.Caching

James Wright james.wright at jigsawdezign.com
Wed Jun 8 09:10:46 EDT 2011


Hi all,

   I hope this is the right place to post! This is the first time i've 
tried installing Mono, I've successfully managed to execute a simple 
HelloWorld.exe, but when i try another of my test apps I get the 
following error:

 >>>>>>>>>>>>>>>>>>>>>>>>
TestBed Console Started
Missing method get_Default in assembly /home/ec2-user/TestBed.exe, type 
System.Runtime.Caching.MemoryCache

Unhandled Exception: System.IO.FileNotFoundException: Could not load 
file or assembly 'System.Runtime.Caching, Version=4.0.0.0, 
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its 
dependencies.
File name: 'System.Runtime.Caching, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a'
   at TestBed.Program.Main (System.String[] args) [0x00000] in <filename 
unknown>:0
<<<<<<<<<<<<<<<<<<<<<<<<

I'm running this on an Amazon Linux server where I have copied and 
installed the mono-core rpm:

mono-addon-core-2.10.2-5.1.i386.rpm

Do I need to install another mono RM package that contains the 
System.Runtime.dll, or have I missed some config?

Thanks,
James




More information about the Mono-list mailing list