Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get TypeProviders to work on Xamarin/Monodevelop

I want to play around with type providers in F# on mono but I can't get it to work in xamarin studio.

I see that the error is that the namespace TypeProviders is not defined, but where do I find it in monodevelop?

What I did was created the tutorial project for F# and commented out the OData sample. After I commented out that sample I added the System.Data.Services.Client, but I can't find Microsoft.FSharp.Data.TypeProviders.

like image 636
Tomas Jansson Avatar asked May 07 '13 20:05

Tomas Jansson


1 Answers

There are some issues with certain type providers, mainly due to them calling external tools which have a different location in Mono. Thats certainly true of the WSDL provider and the EDMX provider, both have counterparts in Mono but in different locations. If you could raise issues here then they can be addressed by anyone working on the open source compiler and tools.

like image 199
7sharp9 Avatar answered Nov 10 '22 10:11

7sharp9