fix implies that the deployed code is built on 2.*
.net core 3.1 code will not run on .net 2.* runtime. there is no fallback support.
the hosting bundle contains the module and runtime. the current bundle installs the module and net 6.0 runtime. you would then add the 3.1 runtime support if you wanted to support an older runtime.
as you need to upgrade to net 6.0 by December, I'd install the current hosting bundle, so you are ready.
on the build machine, check the bin folder. the compiled code should in:
bin\Release\netcoreapp3.1
folder.