In case anyone is looking for a solution to the ERROR_APPPOOL_VERSION_MISMATCH error when deploying a web job to Azure App Service, adding this line to the PropertyGroup section of the csproj file helps:
<IgnoreDeployManagedRuntimeVersion>True</IgnoreDeployManagedRuntimeVersion>