Azure Functions Shared DLLs in root /bin not found Azure Functions Shared DLLs in root /bin not found azure azure

Azure Functions Shared DLLs in root /bin not found


I was able to get the function to compile, but only by using the full file reference.

#r "D:\home\site\wwwroot\bin\AquasolConnect.Connector.dll"  #r "D:\home\site\wwwroot\bin\AquasolConnect.TankLinkConnector.dll" 

But then when the function ran I got:

Unable to find assembly 'AquasolConnect.TankLinkConnector, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Are you missing a private assembly file?

Better answers anyone?


What wound up working for me is putting the bin folder at the same level as the run.csx and then referencing it with no path, e.g.:

#r "MyAssembly.dll"


I'm unable to post comment due to low reputation, hence this 'answer' instead. I've put my custom dll under bin folder of similar folder structure as Andrew. But then faced the same issue:

2016-06-28T10:13:24.804 Unable to find assembly 'FunctionPOCLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Are you missing a private assembly file?2016-06-28T10:13:24.804 Function completed (Failure, Id=ac19dc2b-b5f1-4ffe-a290-747266b83935)2016-06-28T10:13:24.835 Exception while executing function: Functions.QueueTriggerCSharp1. mscorlib: Exception has been thrown by the target of an invocation. ƒ-QueueTriggerCSharp1#ℛ*35133685-d255-4835-8282-acb5c5d9fca5#9-0: Could not load file or assembly 'FunctionPOCLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

In my code I'm parsing input value into POCO which was defined inside my custom assembly.

var rc  = Newtonsoft.Json.JsonConvert.DeserializeObject(myQueueItem);log.Info(rc.PropGuid.ToString());