Ali Bayat
Ali Bayat

Reputation: 4086

do you have any solution to reduce the build time?

I'm working on a big Solution, which includes 20 projects(in silverlight, and use 10 wcf sevices), each tim to test presentation layer, I have to Build all Solution, and it take much more time. do you have the solution to reduce the build time?

Upvotes: 1

Views: 99

Answers (1)

Chui Tey
Chui Tey

Reputation: 5574

  1. Go to Build/Configuration Manager... and uncheck the projects that you are not working on. This way you only build the relevant project.

  2. Create a solution which only include project that you wish to modify. Copy the DLLs from other projects into a folder. Go to Build, Your_Project Properties... Reference Path, and add that folder.

  3. Switch to parallel MSBuild (by adding external tool), which can utilize all your CPU cores. Set arguments to multiproc and verbosity - minimal:

    /m /v:m

  4. Get rid of unused styles

  5. Use SSD

  6. If you're on a laptop, make sure your machine is set in high performance mode.

  7. Also refer to my old blog post

Upvotes: 5

Related Questions