It is recommended that you update the WPF application configuration target from .NET Framework 4.5 to 4.8.
According to the documentation: Lifecycle FAQ - .NET Framework
Support for .NET Framework 4, 4.5, and 4.5.1 ended on January 12, 2016.
Support for .NET Framework 4.5.2, 4.6, and 4.6.1 will end on April 26, 2022. Customers and developers must have completed the in-place update to .NET Framework 4.6.2 or later by April 26, 2022 to continue receiving technical support and security updates.
Updating the project solution to the latest version of the framework takes some time, but it saves time in the long run.
On the other hand, the latest framework versions introduce new features, removes outdated features, and fix bugs that cause the application to behave unexpectedly.
If the answer is the right solution, please click Accept Answer and kindly upvote it. If you have extra questions about this answer, please click Comment.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.