Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

狀況

當您存取在 [工具] 功能表上的 [選項] 對話方塊中的 [搜尋] 功能時,Microsoft Visual Studio 2013年殼層 (隔離式) 為基礎的應用程式當機。此外,如果偵錯工具已附加至處理序中,您可能會收到下列的呼叫堆疊資訊和例外狀況︰

System.InvalidCastException: Specified cast is not valid. at Microsoft.VisualStudio.Shell.Interop.IVsSearchCallback.ReportComplete(IVsSearchTask pTask, UInt32 dwResultsFound)
at Microsoft.VisualStudio.Shell.VsSearchTask.OnStartSearch()
at Microsoft.VisualStudio.Platform.SearchProviders.ToolsOptions.SearchTask.OnStartSearch()
at Microsoft.VisualStudio.Shell.VsSearchTask.Start()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowSearchHost.<StartSearch>b__a(Object task)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

原因

因為 Visual Studio 的殼層 (隔離式) 找不到加上完整的 Visual Studio 2013年套件通常在推出的服務,就會發生這個問題。

解決方案

下載資訊

若要解決這個問題,請從 「 Microsoft 下載中心 」 下載下列的 hotfix 檔案︰

Download 立即下載 hotfix 套件。如需有關如何下載 Microsoft 支援檔案的詳細資訊,請按一下下面的文件編號,檢視「Microsoft 知識庫」中的文件:

119591如何從線上服務取得 Microsoft 的支援檔案Microsoft 會掃描這個檔案有無病毒。Microsoft 會使用張貼檔案當日可使用的最新病毒偵測軟體。檔案會儲存在加強安全性的伺服器,以避免受到任何未經授權的更改。

先決條件

若要套用此 hotfix,您必須以 Visual Studio 2013年隔離殼層安裝為基礎的應用程式。

重新啟動需求

您不必重新啟動電腦,如果受影響的檔案不在使用一次的安裝,安裝 hotfix 之後。我們建議您安裝此 hotfix 之前,關閉所有 Visual Studio 2013年相關的元件。

狀態

Microsoft 已確認這是<套用>一節所列出的 Microsoft 產品的問題。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×