My wpf program has a strange problem regarding the startup performance on different computer with same specs. One computer loads my program less than a second. Another computer with the same spec loads 10+ secs.
With the help of Visualstudio performance profiler, I notice that two computers loads the program differently! which is so strange.
My problem is basically the same as this post: C# WPF Very slow application launch
The performance profiler on the "fast" computer(I mean start the program fast) shows that the program starts with System.Windows.Application.Run(), whereas the "slow" one shows that it starts with System.Windows.Application.RunInternal(...)
With the additional "internal" the boots time increased 10 times even though two computers are of the same spec and the source code are the same. (Actually, it is just plain mvvm light WPF start file)
Any ideas?