Project Linker扩展不会安装在Visual Studio 2013 Pro上

Jam*_*ham 4 xamarin visual-studio-2013

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

安装失败

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

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

安装日志如下:

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()
Run Code Online (Sandbox Code Playgroud)

然后我尝试通过Visual Studio的内置扩展管理器安装包,并且没有"Project Linker"的搜索结果.

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

所以我的问题是双重的.首先,是否有任何方法可以在VS2013上安装其中任何一个;其次,如果没有,是否有另一种方法可以按照教程的要求链接项目.

提前致谢!

Ana*_*ick 7

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

扩展程序的问答页面实际上包含详细步骤: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. 双击该文件

  • 这似乎适用于VS 2015 CTP.只需使用14.0而不是12.0 (2认同)