Problems creating a simple F # project in Xamarin Studio on Windows 8

I had VS2013 installed on my windows 8 laptop and F # works fine.
Since then I installed Xamarin Studio version 4.2.2, but unfortunately I can’t get any F # project to create even very simple.

I installed F # Version 3.0 from the Web Installer and installed F # addin in Xamarin Studio and restarted it. Compiling a simple console project just gives me an error:

Error: build failed. See Build History for more details.

Without any other details.

In the fsproj file, there is the following:

<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft F#\v4.0\Microsoft.FSharp.Targets" 

I am not sure where MSBuildExtensionPath32 is installed or where it points now, but if I update it to a hard-coded path that actually points to my file:

<Import Project="C:\Program Files (x86)\Microsoft SDKs\F#\3.1\Framework\v4.0\Microsoft.FSharp.Targets" />

, xamarin, .

MSBuildExtensionsPath32 xamarin? .bat , xamarin .

, - .

+4
1

, F # F #. GitHub F #. , F #. .

MSBuildExtensionsPath32 C:\Program Files (x86)\MSBuild

, , , :

<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.1\Framework\v4.0\Microsoft.FSharp.Targets" />
+3

Source: https://habr.com/ru/post/1526049/


All Articles