我正在尝试为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
应该添加什么来解决这个问题?
答案 0 :(得分:7)
检查your .vsixmanifest,这是指定“参考”的内容。我希望引用仍然可行(MPF版本不应该消失),所以我很惊讶有些东西可能会被破坏。在任何情况下,.vsix引用都只是说明需要什么......它们实际上并没有做任何事情。您可以删除没有不良影响的引用。
答案 1 :(得分:0)
我遇到了同样的问题。首先安装Guidance Automation Extensions (GAX)然后尝试安装所需的vsix
文件解决了这个问题。