[Mono-list] Mono on Linux and Missing methods

Zacharia Karami heatedphoenix at gmail.com
Thu May 21 09:10:06 UTC 2015


Anyone else any ideas?

On Tue, May 19, 2015 at 5:14 PM, Zacharia Karami <heatedphoenix at gmail.com>
wrote:

> According to mono --version the version is 4.0.1.
>
> First thing I did was try to update mono. I've done apt-get update,
> upgrade and dist-upgrade.
>
> Regards,
> Zacharia
>
> On Tue, May 19, 2015 at 5:09 PM, Timotheus Pokorra <
> timotheus.pokorra at solidcharity.com> wrote:
>
>> Hello,
>>
>> what version of mono do you have?
>> mono --version
>> If it is the default that comes with Debian Wheezy, then it is
>> probably too old (Mono 2.10.8)
>>
>> It might be advisable to install the packages provided by Xamarin (Mono
>> 4.0.1):
>> http://www.mono-project.com/download/#download-lin
>>
>> Also the latest MonoDevelop:
>> http://www.monodevelop.com/download/
>>
>> Hope this helps,
>>   Timotheus
>>
>>
>> On 19 May 2015 at 16:45, Heatphoenix <heatedphoenix at gmail.com> wrote:
>> > Hey everyone,
>> >
>> > Been trying to program a GTK# app that works on Linux (though GTK# is
>> not
>> > directly related to my question).
>> > Now, the problem I've run into is that I'm using the function
>> MapToIPv4() in
>> > IPaddress. When targeting Mono 4.5 this function works just fine but
>> when
>> > rolling it out to my Linux development environment the function throws
>> >
>> > "Missing Method System.Net.IPAddress::MapToIPv4() in assembly
>> > /usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll,
>> referenced in
>> > assembly myapp.exe"
>> >
>> > After a bit of research, I've found out that this is because this
>> function
>> > is only in MONO / .NET 4.5 and not 4.0 and seemingly my Linux
>> environment
>> > only goes up to 4.0 (because if I target 4.0 it will not compile with
>> this
>> > function). (4.5 also does not show up as an installed mono package,
>> though
>> > something called "Mono Core library (for CLI 4.5)", does.
>> >
>> > How do I get my Linux to allow the usage of this function? Is this even
>> > possible? I am using Debian Wheezy (7.8). If any more information is
>> > required, please let me know.
>> > Thank you.
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> http://mono.1490590.n4.nabble.com/Mono-on-Linux-and-Missing-methods-tp4665972.html
>> > Sent from the Mono - General mailing list archive at Nabble.com.
>> > _______________________________________________
>> > Mono-list maillist  -  Mono-list at lists.ximian.com
>> > http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>
>>
>> --
>> Kontaktdaten:
>> in Plauen: 03741 7424995
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20150521/8aacfe6a/attachment.html>


More information about the Mono-list mailing list