【问题标题】:How do I resolve, "The application which this project type is based on was not found." error?如何解决“找不到此项目类型所基于的应用程序”。错误?
【发布时间】:2013-12-07 23:24:44
【问题描述】:

我正在尝试启动 ServiceStack.AndroidIndie 解决方案以与本教程一起使用。我正在尝试在我的 Android 应用中启用 ServiceStack Api;但是,我在尝试打开项目文件时收到以下错误:

Migration Report -

Overview

Project Path                            Errors  Warnings    Messages
ServiceStack.Client.AndroidIndie.csproj     1       0           0
ServiceStack.Interfaces.AndroidIndie.csproj 1       0           0
ServiceStack.Text.AndroidIndie.csproj       1       0           0
ServiceStack.AndroidIndie.sln               0       0           1

ServiceStack.Client\ServiceStack.Client.AndroidIndie.csproj: The application which this project type is based on was not found. 
ServiceStack.Interfaces\ServiceStack.Interfaces.AndroidIndie.csproj: The application which this project type is based on was not found.
..\..\ServiceStack.Text\src\ServiceStack.Text\ServiceStack.Text.AndroidIndie.csproj: The application which this project type is based on was not found.
ServiceStack.AndroidIndie.sln: The solution file does not require migration.

我当然用的是官方GitHub页面下载的最新版本,也是直接通过windows GitHub app与ServiceStack同步的。

尝试在 VS 2012 和 VS 2013 中启动项目。同样的错误。

有什么想法吗?

【问题讨论】:

  • 这也发生在其他项目上,不仅是 ServiceStack .. 有人知道如何解决它们吗?
  • 似乎在 Xamarin 中打开项目是可行的,如果安装了 Visual Studio 的 XAMARIN 插件,显然它应该能够在 Visual Studio 中打开这个项目。
  • 我尝试重新安装 Xamarin,但在 Visual Studio 中没有可用的插件,而且我在 google 上找不到任何东西。有什么提示吗?
  • 嗨,Myslex 你搞定了吗?
  • @Scott 是的!昨天晚些时候,我让它工作了。 Xamarin 的 Visual Studio 插件似乎没有正确安装,一旦我安装了插件,我就能够打开并构建解决方案。但是,正如您之前指出的,用于 VS 的 Xamarin 不是免费的。因此,我决定使用“免费”库,因此我不需要打开项目文件。再次非常感谢 Scott 的帮助。此致,

标签: android visual-studio plugins xamarin.android xamarin


【解决方案1】:

Visual Studio 的 Xamarin 插件不是免费的。它目前仅适用于 Xamarin 商业计划(每年 999 美元)或企业计划(每年 1899 美元)。见Xamarin Store

您可以通过以下方式确认插件是否已安装并处于活动状态:

  1. 打开 Visual Studio
  2. 选择工具菜单
  3. 选择扩展和更新
  4. 您应该会在 Installed > All

    下看到

    检查它没有被禁用。

如果它不存在,那么您将需要这样做:

  1. 访问xamarin.com/download
  2. 选择下载适用于 Windows 的 Xamarin
  3. 在 Windows 上运行安装程序。选择 Android 组件。 (如果需要,添加 iOS)。安装大概需要 30 分钟。
  4. 安装完成后启动 Visual Studio
  5. 打开项目,应该会显示这个对话框

  6. 创建一个 Xamarin 帐户并激活 30 天试用或输入您现有的 Xamarin Business/Enterprise 凭据。

您将能够在 Xamarin Studio 中打开项目(正如您所发现的),免费,没有任何问题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2010-09-09
    • 2022-10-12
    • 2020-10-26
    • 2020-10-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多