6

我正在尝试为 VS2013 预览做扩展,这是我在 GitHub 上的尝试:https ://github.com/Heather/Nemerle/tree/VS2013

但现在我得到:

07.08.2013 9:25:05 - The following target products have been selected...
07.08.2013 9:25:05 -    Microsoft Visual Studio Ultimate 2013 Preview
07.08.2013 9:25:05 - 
07.08.2013 9:25:05 - Beginning to install extension to Microsoft Visual Studio Ultimate 2013 Preview...
07.08.2013 9:25:05 - Install Error : Microsoft.VisualStudio.ExtensionManager.MissingReferencesException: This extension cannot be installed because the following references are missing:
- Visual Studio MPF
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.CheckForInstallBlockers(InstallableExtensionImpl extension, IInstalledExtensionList modifiedInstalledExtensionsList, Boolean isNestedExtension, Boolean& olderVersionInstalled)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.InstallInternal(InstallableExtensionImpl extension, Boolean perMachine, Boolean isNestedExtension, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, UInt64 totalBytesToWrite, UInt64& totalBytesWritten)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.BeginInstall(IInstallableExtension installableExtension, Boolean perMachine, AsyncOperation asyncOp)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.InstallWorker(IInstallableExtension extension, Boolean perMachine, AsyncOperation asyncOp)

我曾经添加大部分所需的扩展,但不明白它来自哪里?

这是当前状态下的扩展项目文件:https ://github.com/Heather/Nemerle/blob/VS2013/snippets/VS2010/Nemerle.VisualStudio/Nemerle.VisualStudio-VS-2013.csproj

应该添加什么来解决这个问题?

4

2 回答 2

7

检查您的 .vsixmanifest,它指定了“参考”。我希望该引用仍然有效(MPF 版本不应该消失),所以我很惊讶这里可能会出现一些问题。无论如何, .vsix 引用只是用来说明需要什么......它们实际上并没有做任何事情。您可能可以删除引用而不会产生不良影响。

于 2013-08-07T06:04:43.230 回答
0

我面临着同样的问题。通过首先安装Guidance Automation Extensions (GAX)解决它,然后尝试安装所需的vsix文件。

于 2014-03-12T11:26:13.267 回答