views:

25

answers:

0

I have a Silverlight 4 solution that takes a really long time to build from both VS2010 and the MSBuild 4 command line.

The solution contains 42 projects, one is a Silverlight application project, one web application project, and the rest are class libraries.

The MSBuild diag summary shows these tasks are taking some considerable time...

29891 ms  ResolveAssemblyReferences                 68 calls
115609 ms  CopySilverlightApplications                1 calls
131547 ms  ValidateXaml                              36 calls
425688 ms  ResolveProjectReferences                  68 calls
634031 ms  Build                                     71 calls

The project dependencies are quite well arranged, and the build order looks reasonable. I have all projects compiling into a single output folder, and all referenced have CopyLocal = false.

It appears the worst offender is the ResolveProjectReferences, but why should it be taking so long?