Ultimately the fix for me was to further target the newer framework in my Web.Config file. I added the following entry:
I had to add the following entry.
<httpRuntime targetFramework="4.8"/>
This entry below didn't fix it by itself.
<compilation debug="true" targetFramework="4.8"/>