Can not resolve reference: MonoTouch.Foundation.NSTimer
Posted: 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
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