Do you have a solution to reduce build times?

I am working on a large solution that includes 20 projects (in silverlight and using 10 wcf sevices), every time to test the presentation layer, I need to build the whole solution and it takes much longer. do you have a solution to reduce build time?

+3


source to share


1 answer


  • Open the build / config manager ... and uncheck the box that you are not working. So you are a project.

  • Create a solution that only includes the project you want to change. Copy DLLs from other projects to a folder. Go to Build, Your_Project Properties ... Reference Path and add this folder.

  • Switch to a parallel MSBuild (by adding an external tool) that all your cpu cores can use. Set the arguments for multiproc and verbosity to minimum:

    /m /v:m

  • Get rid of unused styles

  • Use SSD

  • If you are on a laptop, make sure your computer is set to high performance mode.

  • Also see my old blog post



+3


source







All Articles