Bug 11105 - Tutorial.fs fails
Summary: Tutorial.fs fails
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Project Model ()
Version: 4.0.1
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2013-03-13 06:17 UTC by adam.getchell
Modified: 2015-11-20 08:26 UTC (History)
3 users (show)

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


Attachments
Screengrab of Xamarin studio and Tutorial.fs project build errors (425.19 KB, image/png)
2013-03-13 06:17 UTC, adam.getchell
Details


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:
Status:
VERIFIED FIXED

Description adam.getchell 2013-03-13 06:17:38 UTC
Created attachment 3594 [details]
Screengrab of Xamarin studio and Tutorial.fs project build errors

Creating a brand new F# solution with the tutorial has the following build errors:

/Users/getchell/Projects/testfsharp/testfsharp/Tutorial.fs(27,27): Error FS0039: The namespace 'Data' is not defined (FS0039) (testfsharp)

/Users/getchell/Projects/testfsharp/testfsharp/Tutorial.fs(39,39): Error FS0039: The type 'meter' is not defined (FS0039) (testfsharp)

I have not edited the file at all.

There is also the following warning:

Warning: The reference 'FSharp.Core, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not valid for the target framework of the project. (testfsharp)

Also, you need a F# Binding component.
Comment 1 Mike Krüger 2013-03-13 09:00:08 UTC
Seems to be a project model issue where the reference look up doesn't work
Comment 2 Mikayla Hutchinson [MSFT] 2013-03-13 13:18:44 UTC
Or an issue in the F# addin not providing that assembly...

Have you asked the F# addin community about this?
Comment 3 Dave Thomas 2014-01-16 06:41:54 UTC
I can't replicate this issue with a current version of F#.

It seems to be a case of the wrong version of F# installed as the SI standard units of measure were introduced in F# 3.0
Comment 4 Naqeeb 2015-11-20 08:26:20 UTC
We have checked this issue and observed that this is working fine at our end. 

Screencast: http://www.screencast.com/t/C9rv2Pn5

As of now I am closing this issue. Please feel free to reopen this issue if you are still getting this.

Thanks!

Environment info: https://gist.github.com/saurabh360/99ab768102d66e8cc2ab