Bug 57116 - [VS2017] create but fails to reopen project created using Xamarin F# Android template
Summary: [VS2017] create but fails to reopen project created using Xamarin F# Android ...
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
: 54302 56184 ()
Depends on:
Reported: 2017-06-02 19:44 UTC by Wael
Modified: 2017-06-13 14:32 UTC (History)
7 users (show)

Is this bug a regression?: Yes
Last known good build: Xamarin in VS2015

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 Wael 2017-06-02 19:44:59 UTC
this is a mirror to https://github.com/Microsoft/visualfsharp/issues/2992

In visual studio 2017, Xamarin Android support F# is not working. Once a project is created, it works and can be pushed to the device. Once the project is reloaded, a message box saying that the framework is not installed will pop up. The project fails to reload regardless of what we do.

1 - Create an F# android app (OpenGL/blank/....)
2 - Close vs2017, Reload the project and the message box will pop up. The project will fail to reload.
Comment 1 Juan Marcelo Tondato 2017-06-07 12:47:01 UTC
*** Bug 56184 has been marked as a duplicate of this bug. ***
Comment 2 Wael 2017-06-07 13:40:11 UTC
@Juan Marcelo Tondato: I am unable to see the Bug 56184. Are there any ETA for fixing it ? and are there any workarounds ?
Comment 3 Juan Marcelo Tondato 2017-06-07 20:45:23 UTC
Hi Wael,

Sorry for the delay, we'll work on a fix for this issue soon (Setting target milestone as 15.3).

Thanks for reporting.
Comment 4 Joaquin Jares 2017-06-08 14:48:35 UTC
We're still working on this. As a temporal workaround, if you install the Android SDK from the installer for Xamarin (or installing VS2015), you will be able to load the project.
Comment 5 Joaquin Jares 2017-06-08 15:01:08 UTC
MSI is here: http://dl.xamarin.com/XamarinforVisualStudio/Windows/Xamarin.VisualStudio_4.5.0.443.msi. You can just select Android SDK from there (keep everything else unchecked).
Comment 6 Jose Gallardo 2017-06-08 20:21:34 UTC
*** Bug 54302 has been marked as a duplicate of this bug. ***
Comment 7 Wael 2017-06-09 01:04:48 UTC
Sadly, when I run it, I get a popup saying: This setup requires Microsoft Build Tools 2015 package to be installed for this installation to continue.

That package however is no longer available.

Any other workaround ?
Comment 8 Joaquin Jares 2017-06-13 14:32:51 UTC
This is now fixed here: https://github.com/Microsoft/visualfsharp/pull/3206

@Wael, the other option is to copy Reference Assemblies from Visual Studio (in program files x86\Microsoft\Visual Studio\(your install)\Common7\IDE\ReferenceAssemblies into Program Files (x86)\ReferenceAssemblies. This option is very hacky, but it should work :)