user3657968
user3657968

Reputation: 21

Visual Studio Slow Compile with Silverlight

I have been looking for a way to speed up compile time on my large Silverlight solution 110k code lines (around 500 xaml files). I have tried a number of methods already...

System:

So right now my build time is around 70 sec, most of that time is used by ValidateXaml 45 sec. I am not sure what ValidateXaml is doing and my searches have come up null on this topic so far... Also it seems that anytime I make changes to even one file it rebuilds all 500 files not just the one I modified. Now 70 sec is not that bad but we have to build a lot in a day to check for errors in code at run time... so I spend more than an hour or more each day just waiting on VS to compile each time we make changes. So any improvement in performance would save me time. Any ideas?

Upvotes: 2

Views: 376

Answers (1)

Dan Miranda
Dan Miranda

Reputation: 161

You could try to move some code to a secondary library project in order to reuse the unmodified assembly and only compile the half that has been modified for local test, for TFS it will last the same time.

Upvotes: 1

Related Questions