io.h not found

峻吾 古賀 0 Reputation points
2023-10-09T06:16:11.8933333+00:00

I have installed Visual Studio 2022 with "Desktop development with C++" but I cannot find the 'io.h' file in the Include folder. What should I do to resolve this?

Developer technologies | Visual Studio | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2023-10-11T04:58:12.93+00:00

    Hi @峻吾 古賀, 

    Welcome to Microsoft Q&A! 

    Please run the Visual Studio Installer > Modify > Individual components tab > select the MFC components that match your project targets, such as x86 or ARM64EC. 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

     

    1 person found this answer helpful.
    0 comments No comments

  2. Srivats, Mahesh 0 Reputation points
    2024-09-24T18:03:51.84+00:00

    It is usually installed by Visual Studio Installer too if the default settings for “Desktop development with C++” are not altered. Select/tick all the ones in the right after selecting desktop development with C++...erorr goes away

    User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.