无法创建F#Android项目-Visual Studio 2015 Xamarin社区 [英] Unable to create F# Android Project - Visual Studio 2015 Xamarin Community

查看:89
本文介绍了无法创建F#Android项目-Visual Studio 2015 Xamarin社区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在按照对话选项从Xamarin下载页面在Visual Studio社区版中创建一个新的F#Android Blank Activity. C#android项目似乎可以正常工作.这是Xamarin开源公告发布后发布的Visual Studio 2015版本.

I'm following the dialogue options to create a new F# Android Blank Activity in the visual studio community edition from the Xamarin download page and am not having much luck. C# android projects seem to work just fine. This is the visual studio 2015 release put out just after the Xamarin open source announcement.

创建项目后,看起来像是简介页的内容会在消失之前出现一会儿.在可见简介页面时,项目结构已加载到解决方案资源管理器中,但现在仅显示(加载失败).

Once the project is created what looks to be an intro page appears for a brief moment before disappearing. The project structure was loaded in the solution explorer during the time the intro page was visible but now only shows (load failed).

扩展项目信息显示

该项目需要用户输入.重新加载项目以获取更多信息.

The project requires user input. Reload the project for more information.

尝试刷新会显示一个带有文本的对话框

Attempting to refresh displays a dialog box with the text

文档'c:\ users \ [me] \ documents \ visual studio 2015 \ Projects \ FSharpBlankApp \ FSharpBlankApp \ FSharpBlankApp.fsproj'已经打开.您要关闭它吗?

The document 'c:\users\[me]\documents\visual studio 2015\Projects\FSharpBlankApp\FSharpBlankApp\FSharpBlankApp.fsproj' is already open. Do you want to close it?

在Xamarin Diagnostics输出类别中的某些活动之外,单击是"不会执行任何可见的操作.输出如下:

Clicking 'Yes' performs no visible action beyond some activity in the Xamarin Diagnostics output category. The output is as follows:

[I:]:                     Tracking android devices started
[D:]:                     Tracking avd started
[D:]:                     avd watcher *.ini path: 'C:\Users\<me>\.android\avd'
[D:]:                     avd watcher android path: 'C:\Users\<me>\AppData\Local\Android\ANDROI~1\tools\android.bat'
[D:]:                     TrackDeviceTask got: 
[I:]:                     Got new device list from adb with 0 devices
[I:]:                     Tracking android devices stopped
[I:]:                     Tracking android devices started
[D:]:                     Tracking avd started
[D:]:                     avd watcher *.ini path: 'C:\Users\<me>\.android\avd'
[D:]:                     avd watcher android path: 'C:\Users\<me>\AppData\Local\Android\ANDROI~1\tools\android.bat'
[D:]:                     TrackDeviceTask got: 
[I:]:                     Got new device list from adb with 0 devices
[I:]:                     Tracking android devices stopped
[D:]:                     avd watcher: got device list from avd with 9 devices
[D:]:                     avd watcher: got device list from avd with 9 devices

我已将其安装在两台计算机上,结果相同. F#Windows模板似乎可以毫无问题地加载和执行.以管理员身份运行Visual Studio似乎没有任何区别.这是在Windows 10上.

I've installed this on two computers with the same results. The F# Windows templates seem to load and execute without issue. Running Visual Studio as administrator does not seem to make any difference. This is on Windows 10.

任何解决此问题的建议或如何从这一点着手,将不胜感激.谢谢!

Any recommendations on resolving the issue or how to proceed from this point would be greatly appreciated. Thanks!

推荐答案

失败的原因是Xamarin期望安装F#3.0 SDK.这是讨论在Xamarin论坛上.

The reason why it fails is that Xamarin expects F# 3.0 SDK to be installed. Here is a discussion on Xamarin forum about this.

您可以从此处安装F#3.0 SDK: http://go.microsoft.com/fwlink/?LinkId= 261286

You can install F# 3.0 SDK from here: http://go.microsoft.com/fwlink/?LinkId=261286

这篇关于无法创建F#Android项目-Visual Studio 2015 Xamarin社区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆