Bug 40616 - New F# android project fails to load
Summary: New F# android project fails to load
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: 4.1.0 (C7)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-04-21 16:47 UTC by Matthew Orlando
Modified: 2016-09-29 14:11 UTC (History)
4 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 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 Matthew Orlando 2016-04-21 16:47:52 UTC
Create a new project
Choose Visual F#/Android/Blank App (Android)

Expected result:

The project is created and loads

Actual result:

The solution explorer briefly shows the files in the project. It immediately unloads and the project says: "The project requires user input. Reload the project for more information."

I reload the project, and all it does is open the .fsproj file in the XML editor, and pop a dialog that says "the file blahblah.fsproj is already open. Do you want to close it?"

This is much worse than the previous release which would at least let you see the project until you add a layout: https://bugzilla.xamarin.com/show_bug.cgi?id=39695
Comment 1 Daniel Cazzulino 2016-04-22 19:11:35 UTC
I can't reproduce this with our latest Alpha bits using Visual Studio 2013.

Could you please provide the version information from Help > About in VS to determine the exact version where this might be happening?

Comment 2 Matthew Orlando 2016-04-22 19:54:23 UTC
Sure. I'm on 2015 update 2 with the beta channel of Xamarin. Paste below.


Microsoft Visual Studio Professional 2015
Version 14.0.25123.00 Update 2
Microsoft .NET Framework
Version 4.6.01541

Installed Version: Professional

LightSwitch for Visual Studio 2015   00322-50350-09621-AA841
Microsoft LightSwitch for Visual Studio 2015

Visual Basic 2015   00322-50350-09621-AA841
Microsoft Visual Basic 2015

Visual C# 2015   00322-50350-09621-AA841
Microsoft Visual C# 2015

Visual C++ 2015   00322-50350-09621-AA841
Microsoft Visual C++ 2015

Visual F# 2015   00322-50350-09621-AA841
Microsoft Visual F# 2015

Windows Phone SDK 8.0 - ENU   00322-50350-09621-AA841
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   5.2.60328.3
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015.1 (Beta8)   14.1.11106.0
ASP.NET and Web Tools 2015.1 (Beta8)

ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.40314.0
For additional information, visit http://www.asp.net/

Common Azure Tools   1.7
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

GitHub.VisualStudio   1.0
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

NuGet Package Manager   3.4.2
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   14.0.60311.1
Microsoft SQL Server Data Tools

TypeScript tools for Visual Studio

Visual F# Power Tools   2.3.0
A collection of additional commands for F# in Visual Studio

Visual Studio Tools for Universal Windows Apps   14.0.25208.00
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

VsVim is a Vim emulator for Visual Studio

Xamarin (514438c)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android (b4be22e)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS (977921b)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 3 Matthew Orlando 2016-05-19 17:26:58 UTC
This is very frustrating, as I'd really like to begin work on an F# project, but my primary dev machines are Windows. Are you suggesting that if I try with VS 2013 it might work?

The latest beta from May 18 is still having this issue for me.
Comment 4 Matthew Orlando 2016-05-19 17:33:14 UTC
I have confirmed this happens with VS 2015 on both my Windows 7 work machine and my windows 10 home machine (which have vastly different Visual Studio & Xamarin installation histories).
Comment 5 Matthew Orlando 2016-05-19 18:21:06 UTC
After installing Visual Studio 2013, I am now able to load the broken project in Visual Studio 2015. Apparently some dependency is not being installed when only VS 2015 is on the machine.
Comment 6 Jason Imison 2016-09-29 14:11:39 UTC
The F# 4 build tools are required for building Xamarin projects on Windows https://www.microsoft.com/en-us/download/details.aspx?id=48179