Several typical scenarios (but more),
- Certain components you use are going to retire by Microsoft. For example, VS2022 might not include .NET Framework 4.5 target profiles so you probably can no longer compile such projects there.
- New versions of your dependent NuGet packages might lose .NET 4.5 support.
So leaving behind while the whole ecosystem moves on is more risky than merely security issues.