Bug 18396 - Xamarin Studio doesn't recognise VS2012 F# Profile47 projects, but xbuild does
Summary: Xamarin Studio doesn't recognise VS2012 F# Profile47 projects, but xbuild does
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: F# Add-in ()
Version: 4.3.0
Hardware: PC Mac OS
: Normal normal
Target Milestone: master
Assignee: Dave Thomas
Depends on:
Reported: 2014-03-14 08:02 UTC by robin.neatherway
Modified: 2014-06-23 06:40 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description robin.neatherway 2014-03-14 08:02:41 UTC
I am using Mono 3.2.7, F#, XS 4.3.3 on OSX.

I am trying to open an F# project targeting Profile47, example here:

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:

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

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.
Comment 1 Dave Thomas 2014-06-23 06:40:39 UTC
This should be resolved in the latest F# addin, type checking works and build within XS work too.