Reputation: 4086
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
Reputation: 5574
Go to Build/Configuration Manager... and uncheck the projects that you are not working on. This way you only build the relevant project.
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.
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
Get rid of unused styles
Use SSD
If you're on a laptop, make sure your machine is set in high performance mode.
Also refer to my old blog post
Upvotes: 5