We experienced very slow startup times for our WPF Telerik app recently (~50 seconds).
I have attached a project to replicate the problem. It only happens sometimes, but when it does, the simple demo app takes up to 30 seconds to boot up (not counting build time). This happens with and without the debugger.
In the screenshot "telerik_debug_logs.png", we can see that the app decides to load 30+ Telerik DLLs, almost none of which are necessary for this tiny app. Loading all these DLLs takes time, most notably the first one (Telerik.Window.Controls.dll) which seems to take 5.9 seconds on it's own.
Interestingly enough, when we comment out the drag drop animation storyboard, only 2 of Telerik DLLs are loaded. See screenshot "telerik_debug_logs_NO_ANIMATION.png".
Is this expected behavior ? Is there something I can to to mitigate the long startup times ?
- .NET 7 (also tested in .NET 6)
- Telerik UI for WPF (XAML) v2023.1.117
- VS 2022 v17.5.2