tags:

views:

251

answers:

3

I noticed that WPF application startup is sometimes pretty slow. Does anybody know if the the cause is the elements initialization or DLLs loading or something else?

+4  A: 

This article on Improving WPF applications startup time should be useful.

Stuart Dunkeld
+2  A: 

The startup time of a WPF Application can be much faster if you use Framework 3.51 and not 3.5 or 3.0. The 3.51 is really an improvement.

Holli
A: 

What helped me the most from the excellent article that Stuart links to was the XmlSerializer trick. That really shaved up quite a few seconds. Furthermore don't underestimate defragmenting your HD :-)

Anders Rune Jensen