views:

41

answers:

1

I'm developing Asp.MVc 2 application. In solution i've about 10 projects and i have no idea why bulid takes so much time - ~5 minutes.

I've tried to unload some projects, but it saves mayby 15 seconds.

I'd like to try and learn TDD, but writing and running tests will waste 80% time.

I'm using VS2010 and default MSBuild - is there any way to improve speed of building applications? I don't know mayby other builder (NAnt could help?)

+1  A: 

Have you tried separating your projects into logical solutions and not have them all in the same one? (I'm assuming you do). There is just some code that doesn't change so often that you have to build it all the time.

PieterG
Yep, breaking apart large solutions really helps with TDD. If you have any designer generated code (like DBML or EF files) put those in their own project if possible.
Ryan
I'm using EF, so mayby it is good idea to move them. I'm also using TFS (2008 as i suppose), i don't know is it the cause, because we don't use TFS's builds, but mayby it slows down. Unfortunately i don't have privilages to play around TFS's config
Simon