[MonoDevelop] Xamarin Studio doesn't recognise VS2012 F# Profile47 projects, but xbuild does

Robin Neatherway robin.neatherway at gmail.com
Fri Mar 7 12:10:42 UTC 2014


Hi,

I am using Mono 3.2.7, F# 3.1.1.5, XS 4.3.3 on OS X.

I am trying to open an F# project targeting Profile47, example here:
https://github.com/fsharp/fsharp/tree/master/tests/projects/Sample_VS2012_FSharp_Portable_Library

This project contains
<TargetFrameworkProfile>Profile47</TargetFrameworkProfile>. I can
build it from the command line with xbuild and it correctly references
the right versions of mscorlib and includes the whole framework as
implicitly as it should.

When I am trying to make sure that the F# addin supports editing these
PCL projects I have found that the type of the project is just
DotNetProject rather than PortableDotNetProject, unless I include the
project type guid:
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB}</ProjectTypeGuids>

As xbuild is detecting it correctly without the guid, it would be good
if monodevelop also could. The TargetFrameworkProfile should be
sufficient.

If it is not detected correctly, the GetReferencedAssemblies returns
the wrong information to the F# addin and rich editing (completions,
tooltips etc) is not available.

Cheers,
Robin


More information about the Monodevelop-list mailing list