I've been trying out the new Visual Studio 2017 Tools for Azure Functions and I'm running into a problem.
When trying to initialise a class from the Nuget package PowerOfficeGoSDK in an Azure Function, I get a SerializationException:
var authorizationSettings = new AuthorizationSettings
{
ApplicationKey = applicationKeyGuid,
ClientKey = clientKeyGuid,
TokenStore = new BasicTokenStore("my.tokenstore")
};
var goApi = new Go(authorizationSettings);
System.Runtime.Serialization.SerializationException : Unable to find assembly 'GoApi, Version=1.5.1.0, Culture=neutral, PublicKeyToken=null'.
The code uses various other Nuget packages like Microsoft.Azure.KeyVault without any problems. I've checked the bin folder of the function using Kudu, and the GoApi.dll file is there.
Anyone know what might cause the exception?