Improving BUILD and testing performance

N

Nebo

I wanted to share a simple, and maybe obvious tip with the group. I
had a project that was growing quickly and I noticed that the build
time was taking longer and longer. Actually, I use VMWARE for testing
on my Mac and that maybe makes it a little slower. But it was taking
my CF solution about 30 to 60 seconds to build. (Project has about 10
forms, 20 controls, etc).

Well thats not a lot of time, but when debugging and testing a little
change that times adds up a lot.

So for this purpose, I broke my C# Project into 4 separate projects.
One for 1) resources 2) controls 3) Data access layer and 4) main
program.

I read that with VS2008, it doesnt recompile sub projects if nothing
has changed. My testing has confirmed this.

Now my build time is taking about 5 seconds. This is much better and
has drastically improved debuging.

Any other suggestions to improve BUILD and Debug performance?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top