The error is in your .csproj,
<AzureFunctionsVersion>V4</AzureFunctionsVersion>
You need to change your uppercase V to a lowercase v.
The uppercase V works with older functions...