Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Is it possible to add monotouch reference to Xamarin forms project?

$
0
0

We have created a xamarin forms project. Here we need to access data from SMP OData services, in order to achieve this we have created static library(.a file) and added to an iOS binding project. When we try to run the application we are getting error as

"The type MonoTouch.Foundation.NSObject' is defined in an assembly that is not referenced. Consider adding a reference to assemblymonotouch, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' (CS0012) (DVI.UI.Forms)"

If we try to add the 'monotouch' dll and run the application, getting error as
_"Cannot include both 'monotouch.dll' and 'Xamarin.iOS.dll' in the same Xamarin.iOS project - 'Xamarin.iOS.dll' is referenced explicitly, while 'monotouch.dll' is referenced by 'DVI.Binding.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. (MT0034) (DVI.UI.Forms.iOS)"_

Can anyone help us how to resolve this issue? or is there any other approach to access data from SMP OData services?

Thanks & Regards,
Saju KS


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>