xamarin / md-xamarin-fsharp-addins

F# magic
11 stars 6 forks source link

Missing Xamarin.Android.FSharp.targets #8

Open robertpi opened 11 years ago

robertpi commented 11 years ago

I'm trying to target Android with F#, using Windows/Xamarin Studio. The build in Xamarin Studio fails, but doesn't give much detail to why (even when I turn out the output level to 'diagnostic'). Using msbuild gives the following:

"C:\code\TestFSharpGame\TestFSharpGame.sln" (default target) (1) ->
"C:\code\TestFSharpGame\TestFSharpGame\TestFSharpGame.fsproj" (default target)
(2) ->
  C:\code\TestFSharpGame\TestFSharpGame\TestFSharpGame.fsproj(63,3): error MSB4
019: The imported project "C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamar
in.Android.FSharp.targets" was not found. Confirm that the path in the <Import>
 declaration is correct, and that the file exists on disk.

When I check my msbuild directory Xamarin.Android.FSharp.targets is missing. I'm not sure what should install this file, but googling turns up this project, as it has a reference to it in MonoDevelop.FSharp.Android.addin.xml.

jstedfast commented 11 years ago

You probably need to install the Xamarin.Android alphas