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.

Symptoms

Assume that you install Visual Studio 2013 Update 3, and then you uninstall it. When you create a Visual C or Visual C++ project and then you build it, the build fails, and you receive the following error message:

C1083: Cannot open include file: 'winsock2.h': No such file or directory.

Workaround

To work around this issue, use one of the following methods:

  • Follow these steps to repair Visual Studio:

    1. Download the text file fromĀ here.

    2. Rename the text file to a .bat file extension.

    3. Run the .bat file in an administrator command prompt window. This uninstalls the Windows SDK updates that are installed by Visual Studio 2013 Update 3. If you are prompted to restart the system, restart it.

    4. Repair Visual Studio.

  • Install the latest Windows SDK here.

References

For more information about the other known issues that you may experience after you install Visual Studio 2013 Update 3, go to the following knowledge base article:

2933779 Description of Visual Studio 2013 Update 3

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

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!

×