Bug 38570

Summary: F#
Product: Visual Studio Extensions Reporter: Simon Friis Vindum <simonfv>
Component: AndroidAssignee: Jason Imison <jason.imison>
Severity: normal CC: benjamin.beckley, cody.beyer, jason.imison, jmoore, joe, kzu, miguel, mono-bugs+bugzilla, mono-bugs+monodroid, sachins, stepik-777
Priority: Normal    
Version: 4.3.0 (C9)   
Target Milestone: 4.2.1 (C8SR1)   
Hardware: PC   
OS: Windows   
Tags: Is this bug a regression?: ---
Last known good build:

Description Simon Friis Vindum 2016-02-09 10:32:22 UTC
Steps to reproduce:

1/ Create a new project in Visual Studio
2/ Select Visual F#, Androd and "Blank App (Android)".
3/ Create the project

The solution explorer now shows "(load failed)" next to the project name. Hovering the mouse over the error shows "The project requires user input. Reload the project for more information". I've tried reloading the project with no effect.

I am using Visual Studio version 4.6.01038 with Visual F# 2015 and with Xamarin for Visual Studio and Xamarin.Android

Creating a blank Android app using C# works just fine.
Comment 1 Simon Friis Vindum 2016-02-11 18:02:57 UTC
I can, without problems, build and deploy the F# Xamarin.Forms samples found here: https://github.com/xamarin/xamarin-forms-book-preview-2

This makes me think that this bug has something to do with the code generated by the blank app template.

Is there any other way that I can get started on an Android project using F#?
Comment 2 stepan 2016-02-14 22:24:18 UTC
Blank App (Android) is not a Xamarin.Forms project. It is instead similar to *.Droid projects from the that github repo and they also cannot be loaded. Therefore it seems that this issue is not related to project generation.
Comment 3 James Moore 2016-05-05 18:36:28 UTC
I don't think it has anything to do with the templates, it's that Xamarin is trying to use an old version of F#.


Workaround from that stackoverflow post is:

You can install F# 3.0 SDK from here: http://go.microsoft.com/fwlink/?LinkId=261286
Comment 4 Miguel de Icaza [MSFT] 2016-08-03 15:06:08 UTC
*** Bug 42970 has been marked as a duplicate of this bug. ***
Comment 5 Jason Imison 2016-08-04 10:55:02 UTC
PR here - https://github.com/xamarin/xamarin-android/pull/141