【问题标题】:Project Linker extension will not install on Visual Studio 2013 Pro项目链接器扩展不会安装在 Visual Studio 2013 Pro 上
【发布时间】:2014-02-07 22:35:26
【问题描述】:

我正在尝试在 Visual Studio 中为 Xamarin 做一个教程,可以找到 here,它说要完成教程,需要 Project Linker extension。不幸的是,当我下载它并尝试安装它时,我收到以下错误:

安装失败

安装无法将扩展安装到所有选定的产品。 >更多信息,请点击对话框底部的安装日志链接。

此扩展程序不可安装在任何当前安装的产品上。

安装日志如下:

2014-01-03 12:18:24 PM - Microsoft VSIX Installer
2014-01-03 12:18:24 PM - -------------------------------------------
2014-01-03 12:18:24 PM - Initializing Install...
2014-01-03 12:18:24 PM - Extension Details...
2014-01-03 12:18:24 PM -    Identifier      : 777046b2-7ee9-4e1e-8c34-5f2424eaabf1
2014-01-03 12:18:24 PM -    Name            : Project Linker 2012
2014-01-03 12:18:24 PM -    Author          : Jonkers
2014-01-03 12:18:24 PM -    Version         : 1.5
2014-01-03 12:18:24 PM -    Description     : This tool helps to automatically create                 and maintain links from a source project to a target project to share code that is common     to Silverlight and WPF. Therefore, shared code can be written once and built for the     target environment.
2014-01-03 12:18:24 PM -    Locale          : en-US
2014-01-03 12:18:24 PM -    MoreInfoURL     : 
2014-01-03 12:18:24 PM -    InstalledByMSI  : False
2014-01-03 12:18:24 PM -    SupportedFrameworkVersionRange : [4.5]
2014-01-03 12:18:24 PM - 
2014-01-03 12:18:24 PM -    Supported Products : 
2014-01-03 12:18:24 PM -        Microsoft.VisualStudio.Pro
2014-01-03 12:18:24 PM -            Version : [11.0]
2014-01-03 12:18:24 PM - 
2014-01-03 12:18:24 PM -    References      : 
2014-01-03 12:18:24 PM -        ---------------------------------------------------    ----
2014-01-03 12:18:24 PM -        Identifier   : Microsoft.VisualStudio.MPF.11.0
2014-01-03 12:18:24 PM -        Name         : Visual Studio MPF 11.0
2014-01-03 12:18:24 PM -        Version      : [11.0]
2014-01-03 12:18:24 PM -        MoreInfoURL  : 
2014-01-03 12:18:24 PM -        Nested       : No
2014-01-03 12:18:24 PM - 
2014-01-03 12:18:24 PM - 
2014-01-03 12:18:24 PM - Searching for applicable products...
2014-01-03 12:18:24 PM - Found installed product - Microsoft Visual Studio Professional         2013
2014-01-03 12:18:24 PM - Found installed product - Microsoft Visual Studio 2013 Shell     (Integrated)
2014-01-03 12:18:24 PM - Found installed product - Global Location
2014-01-03 12:18:24 PM - VSIXInstaller.NoApplicableSKUsException: This extension is not     installable on any currently installed products.
at VSIXInstaller.App.InitializeInstall()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()

然后我尝试通过 Visual Studio 的内置扩展管理器安装该包,但没有“Project Linker”的搜索结果。

我回到网站,发现该扩展只支持 Visual Studio 2010。我环顾四周,发现另一个名为 Project Linker 2012 的扩展只支持 Visual Studio 2012。

所以我的问题有两个方面。首先,有什么方法可以让这些中的任何一个安装在 VS2013 上,其次,如果没有,我是否有另一种方法可以按照教程的要求链接项目。

提前致谢!

【问题讨论】:

  • 我无法为您提供有关如何解决此问题的建议,但我可以确认项目链接器 2012 在 VS2013 中可用(我是此组合的活跃用户)
  • 我应该尝试标准的 IT 演练 /reinstall -all :) 但它的解决方案很烦人
  • @JamesAllingham 你能在 VS2013 上安装 Project Linker 吗?我面临着完全相同的问题:(
  • 恐怕不行。 :( 我最终没有使用 Xamarin,所以我不需要扩展。对不起!

标签: xamarin visual-studio-2013


【解决方案1】:

主要思想是为 Project Linker 2012 下载 .vsix 文件并手动更新其内容,以便将其安装在 VS2013 中。

扩展的Q&A页面其实包含了详细的步骤: http://visualstudiogallery.msdn.microsoft.com/273dbf44-55a1-4ac6-a1f3-0b9741587b9a

他们在这里:

  1. 下载 vsix
  2. 将扩展名从 vsix 更改为 zip
  3. 解压文件
  4. 在文本编辑器中打开 extension.vsixmanifest
  5. 换行
  6. 将所有文件压缩回去 7.重命名为 .vsix
  7. 双击文件

【讨论】:

  • 您还需要从 11.0 > 12.0 编辑此行中的值。
  • 确保你有来自画廊的最新包,否则它将无法工作
  • 这似乎适用于 VS 2015 CTP。只需使用 14.0 而不是 12.0
【解决方案2】:

我已跳过项目链接器,只是按照此 Xamarin 教程直接链接文件。这有点单调,但很有效,我已经在 VS2013 for android 中以这种方式部署了一个示例应用程序。

http://docs.xamarin.com/guides/cross-platform/application_fundamentals/building_cross_platform_applications/sharing_code_options/

【讨论】:

    猜你喜欢
    • 2014-09-22
    • 2023-03-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-10-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多