VS2013 always wants to rebuild the whole solution in Release


  • In my solution (main project + #22 projects from which the main one depends) while the Debug config correctly recompiles only the changed source files, the Realease config always tries to recompile all the solution's projects (source files) - exactly what you don't expect from a build automation system.
    Wednesday, December 09, 2015 3:59 PM


All replies

  • Hi Paolo Leoncini,

    Thanks for your post.

    Is that you want to build one of your project or some of you projects instead of build all of your projects?

    If my understanding is correct. I think you could implement this function using Batch Build.

    You could refer to the following steps:

    Right click your solution->Batch Build, Select the project in the solution you want to build, then click Rebuild button.

    If I misunderstood this issue, please feel free to let me know.

    Best Regards,

    Lake Xiao

    Friday, December 11, 2015 5:50 AM
  • No Lake Xiao, sorry, I didn't mean that - I meant that in Release, VS2013 always recompiles all the source files even if they weren't modified, so that if I issue a "Compile Solution" after a successful compilation it still recompiles all.
    Monday, December 14, 2015 4:22 PM
  • Hi Paolo Leoncini,

    Build->Configuration Manager->Release

    Then uncheck the project you don’t want to compile.

    Best Regards,

    Lake Xiao

    Tuesday, December 15, 2015 2:49 AM