Bug 12990 - F# Template Project fails to build trying to resolve System.Reflection.Emit.AssemblyBuilder
Summary: F# Template Project fails to build trying to resolve System.Reflection.Emit.A...
Status: VERIFIED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 6.3.x
Hardware: PC Mac OS
: High major
Target Milestone: 6.4 (async)
Assignee: PJ
URL:
Depends on:
Blocks:
 
Reported: 2013-07-01 16:16 UTC by PJ
Modified: 2013-07-23 03:23 UTC (History)
4 users (show)

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

Description PJ 2013-07-01 16:16:18 UTC
Steps to reproduce:
1) Install the current Alpha channel (details below)
2) Install the F# language binding and the F# for iOS pack
3) Create a new Hello World application
4) Build

Expected behavior:

Build should succeed.

Actual behavior:

Build fails. Build output: https://gist.github.com/pjbeaman/47ebf5fa8beacb6a4b02


=== Xamarin Studio ===

Version 4.1.4 (build 117)
Installation UUID: a974a59e-1598-4829-84b6-04e59991f886
Runtime:
	Mono 3.0.12 ((no/d6c5db8)
	GTK 2.24.18
	GTK# (2.12.0.0)
	Package version: 300120000

=== Apple Developer Tools ===

Xcode 4.6.3 (2068)
Build 4H1503

=== Xamarin.iOS ===

Version: 6.3.6.77 (Business Edition)
Hash: fa63be7


=== Operating System ===

Mac OS X 10.8.3
Darwin dynamic-069.bos.xamarin.com 12.3.0 Darwin Kernel Version 12.3.0
    Sun Jan  6 22:37:10 PST 2013
    root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64
Comment 2 Rolf Bjarne Kvinge [MSFT] 2013-07-01 19:37:30 UTC
I can't reproduce this with the latest version from wrench (mtouch 6.3.7.117 (9b3a855)) - can you retest?
Comment 3 Sebastien Pouliot 2013-07-02 19:38:09 UTC
An out-of-band (no F# involved ;-) test seems to indicate the offending symbol is not part of the latest builds.

$ strings /Developer/MonoTouch/usr/lib/mono/2.1/FSharp.Core.dll | grep Reflection
Microsoft.FSharp.Reflection
System.Reflection
$ strings /Developer/MonoTouch/usr/lib/mono/2.1/FSharp.Core.dll | grep Emit
$ strings /Developer/MonoTouch/usr/lib/mono/2.1/FSharp.Core.dll | grep AssemblyBuilder
Comment 5 Sebastien Pouliot 2013-07-10 08:56:16 UTC
Closing. Looking forward to the VERIFIED status.
Comment 6 Nischal 2013-07-23 03:23:08 UTC
We have checked this issue on :

All mac
XS 4.0.10(build 7)
Xam.Android 4.8.0.13
Xam.iOS 6.4.0.2
Mono 3.1.2
Xcode 4.6.2

We installed F# language binding & F# support for X.Android and X.iOS mobile development successfully in Add in manager. We observed that no build errors are shown on creating and building F# template project for iOS and Android. Hence updating the issue status as Verified fixed.

Screencast for the same:
http://screencast.com/t/j9XrRobpHL