Results 1 to 3 of 3

Thread: Slow Build Time in Visual Studio 2017 and Above

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2020
    Posts
    53

    Slow Build Time in Visual Studio 2017 and Above

    I'm experiencing significantly slower build times in Visual Studio 2017 (and later versions) compared to Visual Studio 2010. For the same large project (~400MB), the build time has increased from around 20-30 seconds in Visual Studio 2010 to 45-60 seconds in Visual Studio 2017 and newer versions.
    These are the setting that I have tried in visual studio 2017 but did not have any significant changes in time taken for build
    1) Tools > Options > "Projects and Solutions" > "Build and Run": Set "MSBuild project build output verbosity" to "Diagnostic" (also tried verbosity to "Minimal", "Normal", and "
    Quiet").
    2) Tools > Options > Debugging: Disabled "Enable diagnostic tool while debugging".
    3) Tools > Options > Environment > General: Disabled "Enable client-rich experience" and "Automatically adjust visual experience".
    4) Tools > Options > Environment > Accounts: Disabled "Synchronous settings".
    5) Tools > Options > "Projects and Solutions" > "Build and Run": Increased "Max number of parallel project builds" from 16 to 32.
    Referred links : https://stackoverflow.com/questions/...uild-very-slow
    https://stackoverflow.com/questions/...-and-debugging
    https://stackoverflow.com/questions/...uild-very-slow
    Are there any other Configuration or settings available to reduce the time taken for build in Visual studio 2017 or higher versions ?
    Last edited by IT_Researcher; Sep 13th, 2024 at 05:39 AM.

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    39,379

    Re: Slow Build Time in Visual Studio 2017 and Above

    What kind of build times are you seeing?
    My usual boring signature: Nothing

  3. #3
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,898

    Re: Slow Build Time in Visual Studio 2017 and Above

    Are you doing a Build or a Rebuild? I may be wrong but I think a Rebuild builds everything regardless if it changed or not. Build just does the changes, I think.
    Please remember next time...elections matter!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width