2014-02-27 104 views
0

C#當我安裝兵代碼搜索爲Visual Studio 2012,我得到以下錯誤:錯誤安裝時兵代碼搜索有關的Visual Studio 2012

The installation was unable to install the extension to all the selected products. 

下面是安裝日誌:

2/28/2014 1:04:01 AM - Microsoft VSIX Installer 2/28/2014 1:04:01 AM - 
------------------------------------------- 2/28/2014 1:04:01 AM - Initializing Install... 2/28/2014 1:04:02 AM - Extension Details... 2/28/2014 1:04:02 AM - Identifier  : 57256a12-e1dc-456b-a9b7-c39957cb4b93 2/28/2014 1:04:02 AM - Name  : Bing Code Search for C# 2/28/2014 1:04:02 AM - Author   : Microsoft 2/28/2014 1:04:02 AM - Version   : 1.0 2/28/2014 1:04:02 AM - Description  : This package allows you to search for snippets from the cloud and inserts them into your code without leaving Visual Studio. 2/28/2014 1:04:02 AM - Locale   : en-US 2/28/2014 1:04:02 AM - MoreInfoURL  : http://codesnippet.research.microsoft.com/ 2/28/2014 1:04:02 AM -  InstalledByMSI : False 2/28/2014 1:04:02 AM - SupportedFrameworkVersionRange : 4.5 2/28/2014 1:04:02 AM - 2/28/2014 1:04:04 AM -  SignedBy  : Microsoft Corporation 2/28/2014 1:04:04 AM - Certificate Info : [Subject] CN=Microsoft Corporation, OU=MOPR, OU=OPC, O=Microsoft Corporation, L=Redmond, S=Washington, C=US 

[Issuer] CN=Microsoft Code Signing PCA, O=Microsoft Corporation, L=Redmond, S=Washington, C=US 

[Serial Number] 33000000B2E6906F8BE7453D5B0001000000B2 

[Not Before] 1/25/2013 5:33:41 AM 

[Not After] 4/25/2014 5:33:41 AM 

[Thumbprint] E4EEC5DFB7F413E5A15191DA00D017F97E3A6260 

2/28/2014 1:04:04 AM - Supported Products : 2/28/2014 1:04:04 AM -  Microsoft.VisualStudio.Pro 2/28/2014 1:04:04 AM -   Version : 12.0 2/28/2014 1:04:04 AM - 2/28/2014 1:04:04 AM - References  : 2/28/2014 1:04:04 AM -  ------------------------------------------------------- 2/28/2014 1:04:04 AM -  Identifier : Microsoft.VisualStudio.MPF.12.0 2/28/2014 1:04:04 AM -  Name   : Visual Studio MPF 12.0 2/28/2014 1:04:04 AM -  Version  : 12.0 2/28/2014 1:04:04 AM -  MoreInfoURL : 2/28/2014 1:04:04 AM -  Nested  : No 2/28/2014 1:04:04 AM - 2/28/2014 1:04:04 AM - 2/28/2014 1:04:04 AM - Searching for applicable products... 2/28/2014 1:04:04 AM - Found installed product - Microsoft Visual Studio 2010 Express for Windows Phone 2/28/2014 1:04:04 AM - Found installed product - Microsoft Visual Studio Ultimate 2012 2/28/2014 1:04:04 AM - Found installed product - Microsoft Visual Studio Premium 2012 2/28/2014 1:04:04 AM - Found installed product - Microsoft Visual Studio Professional 2012 2/28/2014 1:04:04 AM - Found installed product - Microsoft LightSwitch for Visual Studio 2012 2/28/2014 1:04:04 AM - Found installed product 
- Microsoft Visual Studio 2012 Shell (Integrated) 2/28/2014 1:04:04 AM - Found installed product - Microsoft Visual Studio Express 2012 for Windows Phone 2/28/2014 1:04:04 AM - Found installed product - Global Location 2/28/2014 1:04:04 AM - Found installed product - ssms 2/28/2014 1:04:04 AM - 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() 

請幫幫我。謝謝!

+0

我試圖在一個星期前在vs 2013上安裝該擴展,並且它一直崩潰。我不認爲它已經準備好使用了.. – Marcom

+1

@Marcom:[bing開發中心](http://blogs.msdn.com/b/bingdevcenter/archive/2014/02/17/calling-all-coders-bing -code-search-arrives.aspx)會不同意。 ;-) [在] OP:我認爲這是一個VS2013擴展(而不是12)。有可能是API衝突...此外,可能值得評論[加載項的頁面](http://visualstudiogallery.msdn.microsoft.com/a1166718-a2d9-4a48-a5fd-504ff4ad1b65),而不是在這裏,因爲這很可能是一個供應商問題(鑑於我讀過的評論不成功)。 –

回答

0

不幸的是,這個擴展尋找專業版的VS而不是Express。您無法使用Microsoft Visual Studio Express進行安裝,並且這是您在計算機上安裝的版本。