[Mono-dev] Can compile but not run simple program with "dynamic x = 100"

John Feminella johnf at bitsbuilder.com
Sun Feb 20 18:23:36 EST 2011


That did it, thanks JB. Ubuntu was defaulting to an older, specific
system mono from the packages instead of `which mono`.
--
John Feminella
Principal Consultant, BitsBuilder
LI: http://www.linkedin.com/in/johnxf
SO: http://stackoverflow.com/users/75170/



On Sun, Feb 20, 2011 at 17:44, Jb Evain <jbevain at gmail.com> wrote:
> On Sun, Feb 20, 2011 at 11:25 PM, John Feminella <johnf at bitsbuilder.com> wrote:
>> [/tmp]> dmcs -r:System foo.cs && ./foo.exe
>> WARNING: The runtime version supported by this application is unavailable.
>> Using default runtime: v1.1.4322
>
> Looks like whatever you're using to `execute` the assembly is not
> initializing the runtime properly. Try:
>
> dmcs -r:System foo.cs && mono foo.exe
>
> Jb
>


More information about the Mono-devel-list mailing list