Failed to resolve for reference Microsoft.Azure.WebJobs.Extensions - Metadata generation failed
I saw a message when running the project saying "the extensionsmetadatagenerator package was not imported correctly" Try adding the Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator nuget package to your project. It is suppose to be loaded as a dependency of Microsoft.NET.Sdk.Functions package, But I didn't see it in my project dependencies list. This worked for me.
Or you can just update to
If you are not on 3.1