Are you able to run .NET Core 2.2 applications alongside .NET Core 3.1 applications?
I vaguely remember that the .NET 3.1 installer removes deprecated versions (e.g. .NET 2.2).
The web server has some applications that are .NET 2.2, and I'm hoping you can upgrade them one at a time to .NET 3.1.