How to fix the "Building x action(s) started" time problem Visual Studio 2022

Florent Cazin 0 Reputation points
2024-02-22T19:33:04.6566667+00:00

Hello, I'm reaching out for some assistance! I am a student studying video game development, primarily using Unreal Engine. Unfortunately, I'm facing challenges working from home due to the excessive time spent on building/compiling. I have the latest version of Visual Studio Community 2022 (17.9.1) installed and a powerful computer (16 GB RAM, RTX 2070, Ryzen 7 2700X). Despite this, every C++ modification takes more than 20 minutes to build. It's becoming impossible for me to make progress, and I have an upcoming project presentation. I've searched extensively online and through previous Microsoft support tickets but haven't found a solution. If anyone has any ideas, I'd greatly appreciate the help. I can provide a screenshot showing where the building process is consuming a significant amount of time—it doesn't initiate until after a prolonged delay. Thank you!

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,448 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 30,936 Reputation points Microsoft External Staff
    2024-02-23T07:54:12.9166667+00:00

    Hi @Florent Cazin, 

    Welcome to Microsoft Q&A! 

    You can try the following from the similar issue:

    1. Uninstall Visual Studio Completely
    2. Add modules “Desktop development with C++” and “.NET desktop development”, and also “Game development with C++ (for Unreal)”
    3. IMPORTANT: On Insallation details: remove IntelliCode (not sure, just tried it)
    4. Click Install
    5. Open Visual Studio: Tools > Text Editor > C++ > Intellisense, disable both suggestions tickbox (Some forum answers suggest Intellisense might be the issue)
    6. Open Unreal Project, compile once (maybe longer), click Tools > Refresh VS Project, save and restart try if compiles faster this time.
    7. Else, Close Unreal & Visual Studio, go to project folder delete SIB folders - Saved, Intermediate, Binaires
    8. Go to the project folder, right-click PROJECTNAME.uproject file, and select “Generate visual studio project files”
    9. Wait and double click open .uproject file (or from select project window), another dialog box displays - click OK to generate new files
    10. In UE Editor, select Tools > Open visual Studio (Keep VS open), try compiling now, (and note that first time of adding new C++ file will take some time to compile)

    If it doesn’t work, please report it in dedicated Unreal Engine forum. Thanks for your understanding! 

    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.  

    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.