Following the documentation I want to import Microsoft.Azure.NotificationHubs.
#r "Newtonsoft.Json"
#r "Microsoft.Azure.NotificationHubs"
using System.Net;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Primitives;
using Newtonsoft.Json;
public static async Task<IActionResult> Run(HttpRequest req, ILogger log)
{
log.LogInformation("C# HTTP trigger function processed a request.");
}
Testing this function I get a 500 response. The logging says:
2020-06-18T10:29:56Z [Error] run.csx(2,1): error CS0006: Metadata file 'Microsoft.Azure.NotificationHubs' could not be found
I created this in a shiny new Function App .Net Core 3.1
Following the documentation I want to import Microsoft.Azure.NotificationHubs.
Testing this function I get a 500 response. The logging says: 2020-06-18T10:29:56Z [Error] run.csx(2,1): error CS0006: Metadata file 'Microsoft.Azure.NotificationHubs' could not be found
I created this in a shiny new Function App .Net Core 3.1