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

时间:2014-01-03 10:32:46

标签: xamarin visual-studio-2013

我正在尝试在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上;其次,如果没有,还有另一种方法让我按照教程的要求链接项目。

提前致谢!

2 个答案:

答案 0 :(得分:7)

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

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

答案 1 :(得分:0)

我已跳过项目链接器,并根据此Xamarin教程直接链接文件。它有点单调,但它的工作原理,我已经在VS2013中以这种方式部署了一个示例应用程序。

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

相关问题