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.

狀況

假設您在安裝 Visual Studio 的 2013年更新 3,則您解除安裝它。當您建立 Visual C 或 Visual C++ 的專案,然後建置組建失敗時,,並且您會收到下列錯誤訊息︰

C1083︰ 無法開啟包含檔案: 'winsock2.h': 沒有這種檔案或目錄。

因應措施

若要解決這個問題,請使用下列方法之一︰

  • 請依照下列步驟執行,以修復 Visual Studio 的:

    1. 這裡下載文字檔案。

    2. 重新命名.bat 檔案副檔名的文字檔。

    3. 系統管理員命令提示字元] 視窗中執行.bat 檔案。這會解除安裝 Windows SDK 安裝更新,由 Visual Studio 2013年更新 3。如果提示您重新啟動系統時,請重新啟動它。

    4. 修復 Visual Studio。

  • 安裝最新的 Windows SDK這裡

參考

如需有關其他已知問題,您可能會遇到之後安裝 Visual Studio 2013年更新 3,請至以下的知識庫文件︰

說明 Visual Studio 2013年更新 3: 2933779

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!

×