[Mono-list] int64.TryParse Fail

Stifu stifu at free.fr
Mon Nov 30 02:07:50 EST 2009


I'm not sure. This is supposed to be defined in the application project
settings, and it actually works for you on Windows... Maybe your Mono
version on CentOS is outdated or something? Do you know which version it is?


Amoxi wrote:
> 
> Any idea on how to execute it with .NET 2.0 or higher?
> 
> 
> 
> Stifu wrote:
>> 
>> It seems like this is because it's being executed with the .NET 1.1
>> profile rather than the .NET 2.0 / 3.5 one (as it loads the assembly from
>> mono/1.0), and this method doesn't exist in .NET 1.1.
>> 
>> 
>> Amoxi wrote:
>>> 
>>> Hi,
>>> 
>>> I have written a scrape file parser in C#, all works great under windows
>>> but when I try to execute the file under Centos I get the following
>>> warning:
>>> 
>>> ** (/sd/BITTORRENT/scraper.exe:17343): WARNING **: Missing method
>>> System.Int64::TryParse(string,long&) in assembly
>>> /usr/lib/mono/1.0/mscorlib.dll, referenced in assembly
>>> /sd/BITTORRENT/Decoder.dll
>>> Method not found: 'System.Int64.TryParse'.
>>> 98.scrape
>>> 
>>> Does anyone know how to fix this?
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/int64.TryParse-Fail-tp26564238p26570346.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list