Can not resolve reference: MonoTouch.Foundation.NSTimer

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Netsoft
Newbie
Newbie
Posts: 8
Joined: Tue Jul 03, 2012 12:00 am

Can not resolve reference: MonoTouch.Foundation.NSTimer

Post by Netsoft » Thu Sep 13, 2012 2:59 pm

Hi,

I recently upgraded MonoDevelop and MonoTouch to the latest versions. After doing so, I get the following error when I compile

Error MT2002: Can not resolve reference: System.Void MonoTouch.Foundation.NSTimer::.ctor() (MT2002)

I looked this up in the MonoTouch forums and they indicate it may be a problem because of the incompatibility with the latest MonoTouch.dll and IOSTchart.dll

http://monotouch.2284126.n4.nabble.com/ ... 56884.html

> I just dropped back to the Stable channel and downgraded to MonoDevelop 3.0.3.5 and MonoTouch 5.2.1.3 and the error went away. I am starting to believe this is not a problem in my project.
It's not.
> In 5.4 NSTimer does not have a default constructor (because such an It's (likely) a mismatch between monotouch.dll (5.4) and IOSTChart.dll, where the later depends on something (i.e. the default constructor) removed.


I don't want to downgrade the MonoDevelop and MonoTouch as I am working on multiple projects. Can you please provide a possible solution?

Thanks
Ashok

Netsoft
Newbie
Newbie
Posts: 8
Joined: Tue Jul 03, 2012 12:00 am

Re: Can not resolve reference: MonoTouch.Foundation.NSTimer

Post by Netsoft » Thu Sep 13, 2012 9:29 pm

Turns out it was a problem with MonoTouch dll. Found the solution, sorry.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Can not resolve reference: MonoTouch.Foundation.NSTimer

Post by Sandra » Fri Sep 14, 2012 9:53 am

Hello NetSoft,

Thanks for information. I am glad that you can solve your problem.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply