Bug 16498 - After Xamarin updates mdk to 3.2.5, command line compile no longer works
Summary: After Xamarin updates mdk to 3.2.5, command line compile no longer works
Alias: None
Product: Runtime
Classification: Mono
Component: packaging ()
Version: unspecified
Hardware: Macintosh Mac OS
: High normal
Target Milestone: ---
Assignee: Duncan Mak
Depends on:
Reported: 2013-11-28 11:28 UTC by peter
Modified: 2013-12-16 14:08 UTC (History)
6 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 GitHub or Developer Community 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 peter 2013-11-28 11:28:17 UTC
When I launched Xamarin Studio, it notified me that there was an updated MDK. I installed it, and now I cannot build my F# project from the command line.

I am running OS-X Maverick.

As seen from the output, the compiler is searching for 3.2.4 files, which I assume that the MDK update have removed. I do have a 3.2.5 folder 

The fsharp compiler is residing in /usr/bin
 $ which fsharpc


fsharpc --resident core/TestReport.fs core/Matchers.fs core/MatchersV2.fs core/Dsl.fs core/DslV2.fs --out:output/FSpec.Core.dll  --target:library
F# Compiler for F# 3.0 (Open Source Edition)
Freely distributed under the Apache 2.0 Open Source License

/Users/peter/src/fspec/core/unknown(1,1): error FS0078: Unable to find the file 'mscorlib.dll' in any of

/Users/peter/src/fspec/core/unknown(1,1): error FS0078: Unable to find the file 'FSharp.Core.dll' in any of

error FS0078: Unable to find the file 'System' in any of
Comment 1 peter 2013-11-28 11:29:54 UTC
/usr/bin/fsharpc symlinks to:

[bin]$ ls -l fs*
-rwxr-xr-x  1 root  wheel  123504  6 Nov 20:15 fs_usage*
lrwxr-xr-x  1 root  wheel      51 19 Okt 17:34 fsharpc@ -> /Library/Frameworks/Mono.framework/Commands/fsharpc
lrwxr-xr-x  1 root  wheel      51 19 Okt 17:34 fsharpi@ -> /Library/Frameworks/Mono.framework/Commands/fsharpi
Comment 2 peter 2013-11-28 11:47:19 UTC
From the about box

=== Xamarin Studio ===

Version 4.2.1 (build 1)
Installation UUID: b87a42fa-6e16-48a6-9986-c556e1e7fe22
	Mono 3.2.5 ((no/964e8f0)
	GTK+ 2.24.20 theme: Raleigh
	GTK# (
	Package version: 302050000

=== Apple Developer Tools ===

Xcode 5.0.2 (3335.32)
Build 5A3005

=== Xamarin.Mac ===

Xamarin.Mac: Not Installed

=== Xamarin.Android ===

Not Installed

=== Xamarin.iOS ===

Not Installed

=== Build Information ===

Release ID: 402010001
Git revision: 844a84fe0aa0cb5f986d4e3c4807a51487d07845
Build date: 2013-11-13 22:12:16+0000
Xamarin addins: 97e44e4863da6c479427794457637e75b3d22600

=== Operating System ===

Mac OS X 10.9.0
Darwin macbookpro.local 13.0.0 Darwin Kernel Version 13.0.0
    Thu Sep 19 22:22:27 PDT 2013
    root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64
Comment 3 Zoltan Varga 2013-12-13 15:36:18 UTC
Can't reproduce this.
Comment 4 Rodrigo Kumpera 2013-12-16 14:08:44 UTC
Notice that your error shows "/Library/Frameworks/Mono.framework/Versions/3.2.4/lib/mono/4.5" as one of the paths uses. Mono 3.2.5 doesn't reference the previous version

Looks like your project is hardcoding the path to the previous mono, it's not a bug on our end.