Visual Studio adds the Startup event handler in App.xaml when the UpdateApplicationThemeName method is used
Answers approved by DevExpress Support
We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.
Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.
- v16.1.5Download Official Update
- v15.2.12Download Official Update
- v15.1.12Download Official Update
Hello,
Will there be a fix for this? It is somehow annoying to have unwanted code added automatically.
Since the update to 16.1.4 it is added sporadically.
Best regards
Adalbert Ochotta
Hi Adalbert,
Our developers have improved the code generation mechanism, so that it should not add the Startup event handler unless a theme was explicitly selected in the smart tag. Please try the following build and let me know if it resolves the issue on your side: DevExpressComponents-16.1.4.16181.exe.
Thanks,
Alex
Works for me, thank you :)
Thank you!
Works for me too.