DLLs… what DLLs? What to reference in your WPF application? Why this is a problem? If you can use Visual Studio, just create a new project from WPF Application template. It will create a skeleton application for you. Look at all the references (what you find will be about the minimum, but certain references are really not needed, such as
System.Deployment
and
System.Data.*
; you can remove references one by one to see which ones are redundant) and files of the project — you will learn what you need.
Delay in application startup? I never saw significant delay. Maybe you saw applications doing it wrong. :-) To trace time consumption, use the class
System.Diagnostics.Stopwatch
, see
http://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch.aspx[
^] and the code sample at the end of this MSDN help page.
—SA