When I create a deployment slot, I tell it to clone the settings from the production slot. My production app is a .Net Core 5.0 App. However, when I go into set up the deployment slot, it show the following:
This is a problem, because when I push to Github, the build is failing with the following message:

My app runs fine in production, and querying the Cloud Shell returns a version of .net5.0. The only reason I can think of for this error is that the deployment slot is set up for .net3.1. But I can't figure out why it is doing this. Does anyone have any suggestions?