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



我正试图在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()

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

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

所以我的问题有两个方面。首先,有没有任何方法可以将其中任何一个安装在VS2013上?其次,如果没有,我有没有其他方法可以根据教程的要求链接项目。

提前感谢!

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

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

它们在这里:

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

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

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

最新更新