I'm doing a project where i am supposed to write an android application that uses a code-base of f# code. In doing so i am running into some problems regarding referencing this f# code in my android project.
I've been googling and it tells me that the f# code has to be in a PCL project that is referenced by the android project. I've done this, but the android project is still not able to recognise the namespaces and files declared in the other project.
I have a namespace called NimGame.Core
where most of my .fs files are located.
An example are shown in the picture below of my event queue module that is clearly located in NimGame.Core. IT can also be seen in my references that i have referenced the PCL project (NimGameCore) in my android project (NimGame).
But when i am trying to use the fsharp files in my c# code it doesn't show up.
Any suggestions as to what can be causing this?
There was a bug in Xamarin Studio and MonoDevelp which prevented IntelliSense from working when F# project was referenced from C# project. Additionally, F# types in C# code were underlined with red line.
The bug was fixed, so upgrading you IDE should solve the problem.