【问题标题】:Connect Apache Cordova to Azure Mobile Services disabled in Visual Studio 2015将 Apache Cordova 连接到 Visual Studio 2015 中禁用的 Azure 移动服务
【发布时间】:2016-01-08 14:43:42
【问题描述】:

如何在 Visual Studio 2015 中为 Apache Cordova 应用启用连接 Azure Mobile Services

  1. 我开始使用 Visual Studio 2015
  2. 单击新建项目,Java 脚本 -> 空白应用程序 (Apache Cordova)
  3. 在解决方案资源管理器中右键单击项目 -> 添加 -> 连接的服务
  4. 单击 Azure 移动服务

结果:配置按钮在悬停时被禁用,并显示“当前项目类型不支持此服务”的消息

我尝试了以下方法:

Visual Studio 版本信息:

Microsoft Visual Studio Enterprise 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.00079
Architecture and Modeling Tools   00322-80000-00000-AA370
Visual Basic 2015   00322-80000-00000-AA370
Visual C# 2015   00322-80000-00000-AA370
Visual C++ 2015   00322-80000-00000-AA370
Windows Phone SDK 8.0 - ENU   00322-80000-00000-AA370
Application Insights Tools for Visual Studio Package   1.0
ASP.NET and Web Tools   14.0.20711.0
ASP.NET Web Frameworks and Tools 2013   5.2.30624.0
Common Azure Tools   1.6
GenerateUnitTest   1.0
JetBrains ReSharper Ultimate 2015.2   Build 103.0.20150818.200216
Microsoft Azure HDInsight HQL Service   2.0.2600.0
Microsoft Azure HDInsight Tools for Visual Studio   2.0.2600.0
Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Tools   2.7
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.7.30818.1601
Microsoft Code Digger   0.9
Microsoft.Pex.VisualStudio   1.0
NuGet Package Manager   3.2.0
PreEmptive Analytics Visualizer   1.2
SQL Server Data Tools   14.0.50616.0
Visual Studio Tools for Universal Windows Apps   14.0.23309.00 d14oob

【问题讨论】:

    标签: visual-studio-2015 azure-mobile-services apache-cordova


    【解决方案1】:

    我认为您现在无法通过 Cordova 代码使用连接服务。但是,请查看 https://github.com/azure/azure-mobile-services-cordova - 这是 Azure 移动服务 Cordova SDK。 README 包含指向文档和论坛的链接以寻求帮助。

    【讨论】:

    • 跟进 - 我们在 RTM Visual Studio 代码中没有看到这一点。建议是使用 VS Installer 并修复 VS 安装。你可以试试吗?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-07-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-10-19
    相关资源
    最近更新 更多