Link to F # code in Android project

I am doing a project where I have to write an Android application that uses the f # code base. In doing so, I am having problems referencing this f # code in my Android project.

I work for Google and he tells me that the f # code should be in the PCL project referenced by the Android project. I did this, but the Android project is still not able to recognize namespaces and files declared in another project.

I have a namespace called NimGame.Core , where most of my .fs files are located. An example is shown in the figure below of my event queue module, which is explicitly located in NimGame.Core. My links also show that I referenced the PCL project (NimGameCore) in my Android project (NimGame). Fsharp sample code

But when I try to use fsharp files in my C # code, it does not appear. Example2

Any suggestions as to what could be causing this?

+8
android c # f # monodevelop xamarin-studio
source share
1 answer

an error in Xamarin Studio and MonoDevelp , which prevented IntelliSense from working when the F # project referred to the C # project. In addition, the F # types in the C # code were underlined by a red line.

A bug has been fixed, so updating your IDE should fix the problem.

+3
source share

All Articles