Bug 12794 - XamarinStudio 4.0.8 hangs when creating F# Android project
Summary: XamarinStudio 4.0.8 hangs when creating F# Android project
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 4.0.8
Hardware: PC Windows
: --- normal
Target Milestone: master
Assignee: Dave Thomas
URL:
Depends on:
Blocks:
 
Reported: 2013-06-20 13:35 UTC by donsyme
Modified: 2015-01-14 03:40 UTC (History)
3 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:
RESOLVED NOT_REPRODUCIBLE

Description donsyme 2013-06-20 13:35:24 UTC
Description of Problem:

XamarinStdio on Windows (4.0.8 from alpha channel) hangs when creating an F# Android project on Windows.

Steps to reproduce the problem:
1. Install XS 4.0.8, the F# Language Binding and the F# for Android support
2. Create an "F# Ice Cream Sandwich" application


Actual Results: IDE hangs


Expected Results: Project created successfully


How often does this happen? All the time on my install


Additional Information:  

  - I will also try on the Mac. 

  - I attached a debugger and looked for a problematic callstack but didn't see anything

  - Opening and building a previously-created F# Android project works ok
Comment 1 donsyme 2013-06-20 13:36:09 UTC
BTW can you add "F# for Android" and "F# for iOS" to the list of choices for "Component" in Xamarin bug reports please?
Comment 2 donsyme 2013-06-20 14:50:10 UTC
Dave Thomas (@7sharp9) reports:

It doesn't hang the IDE on a Mac, it doesn't build either though.  It fails while generating the java stubs:

Target _GenerateJavaStubs:
		 ResolvedAssemblies:
		   /Users/dave/Projects/deleteice/deleteice/bin/Debug/deleteice.dll
		   /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/mono/2.1/FSharp.Core.dll
		   /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/mono/2.1/mscorlib.dll
		   /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/mandroid/platforms/android-8/Mono.Android.dll
		   /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/mono/2.1/System.Xml.dll
		   /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/mono/2.1/System.dll
		   /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/mono/2.1/Mono.Security.dll
		   /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/mono/2.1/System.Core.dll
		 ResolvedUserAssemblies:
		   /Users/dave/Projects/deleteice/deleteice/bin/Debug/deleteice.dll
		   /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/mono/2.1/FSharp.Core.dll
: error XA0009: Error while loading assembly: /Users/dave/Projects/deleteice/deleteice/bin/Debug/deleteice.dll
	Task "GenerateJavaStubs" execution -- FAILED
	Done building target "_GenerateJavaStubs" in project "".-- FAILED
Comment 3 Dave Thomas 2015-01-14 03:40:15 UTC
I can no longer reproduce this (XS 5.7), so closing for now.