项目链接器扩展不会安装在 Visual Studio 2013 Pro 上 [英] Project Linker extension will not install on Visual Studio 2013 Pro

查看:22
本文介绍了项目链接器扩展不会安装在 Visual Studio 2013 Pro 上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 Visual Studio 中为 Xamarin 做一个教程,可以找到 here,其中表示为了完成本教程,需要项目链接器扩展.不幸的是,当我下载并尝试安装它时,出现以下错误:

I am trying to do a tutorial for Xamarin in Visual Studio, which can be found here, which says that in oreder to complete the tutorial the Project Linker extension is required. Unfortunately when I download it and try to install it I get the following error:

安装失败

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

The installation was unable to install the extension to all the selected products. For >more information, click on the install log link at the bottom of the dialog.

此扩展程序无法安装在任何当前安装的产品上.

This extension is not installable on any currently installed products.

安装日志如下:

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 的内置扩展管理器安装包,但没有搜索到项目链接器".

I then tried to install the package via the built in extension manager of Visual Studio and there were no search results for "Project Linker".

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

I went back to the website and notice that the extension only supports Visual Studio 2010. I looked around and found another one called Project Linker 2012 that only supports Visual Studio 2012.

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

So my question is two fold. Firstly, is there any way to get either of these to install on VS2013 and secondly, if not, is there another way for me to link the projects as required by the tutorial.

提前致谢!

推荐答案

主要思想是下载 Project Linker 2012 的 .vsix 文件并手动更新它的内容,允许它安装在VS2013.

The main idea, is to download the .vsix file for Project Linker 2012 and manually update it's content allowing it to be installed in VS2013.

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

Q&A page of the extension actually contains detailed steps: http://visualstudiogallery.msdn.microsoft.com/273dbf44-55a1-4ac6-a1f3-0b9741587b9a

他们在这里:

  1. 下载 vsix
  2. 将扩展名从 vsix 更改为 zip
  3. 解压文件
  4. 在文本编辑器中打开 extension.vsixmanifest
  5. 换行<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="11.0"/><InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="12.0"/>
  6. 压缩所有文件7.重命名为 .vsix
  7. 双击文件

这篇关于项目链接器扩展不会安装在 Visual Studio 2013 Pro 上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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