{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-script/issues/716","repository_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-script","labels_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-script/issues/716/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-script/issues/716/comments","events_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-script/issues/716/events","html_url":"https://github.com/Azure/azure-webjobs-sdk-script/issues/716","id":178591622,"number":716,"title":"Azure Functions giving exception while loading Dependency Dlls","user":{"login":"akhilaj","id":5424100,"avatar_url":"https://avatars.githubusercontent.com/u/5424100?v=3","gravatar_id":"","url":"https://api.github.com/users/akhilaj","html_url":"https://github.com/akhilaj","followers_url":"https://api.github.com/users/akhilaj/followers","following_url":"https://api.github.com/users/akhilaj/following{/other_user}","gists_url":"https://api.github.com/users/akhilaj/gists{/gist_id}","starred_url":"https://api.github.com/users/akhilaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akhilaj/subscriptions","organizations_url":"https://api.github.com/users/akhilaj/orgs","repos_url":"https://api.github.com/users/akhilaj/repos","events_url":"https://api.github.com/users/akhilaj/events{/privacy}","received_events_url":"https://api.github.com/users/akhilaj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-09-22T12:04:31Z","updated_at":"2016-09-26T19:48:46Z","closed_at":null,"body":"#### Repro steps\r\n\r\nProvide the steps required to reproduce the problem\r\n\r\n1. Create a  custom assembly custom dll (domain.dll)\r\n\r\n2. Custom dll should internally has a dependency on LinqKit \r\n\r\n3. Add the LinqKit refrence to nuget packages \r\n\r\n#### Expected behavior\r\n\r\nThe function should work fine and the dependent dll should be loaded in the runtime.\r\n\r\n\r\n#### Actual behavior\r\n\r\nGet Exception at Runtime : \r\n\r\n```\r\nMessage: Could not load file or assembly 'LinqKit, Version=1.1.7.2, Culture=neutral, PublicKeyToken=bc217f8844052a91' or one of its dependencies. The system cannot find the file specified., Stack Trace:    at Marketware.Domain.Centric.Segments.SegmentDefinition.SegmentDefinitions.CreateEncounterFilterExpressionForDate(String segmentFilterJson)\r\n   at Marketware.Domain.Centric.Segments.SegmentDefinition.SegmentDefinitions.EncounterFilterDefinitionTuple(String filterString)\r\n   at Marketware.Domain.Centric.Segments.SegmentDefinition.Services.SegmentDefinitionService.GetEncounterFilterDefinition(String filterString)\r\n   at Submission#0.AddUpdateSegmentDefinitions(String databaseName, TraceWriter log, String audienceType, Guid segmentId, String filter, ISegmentDefinitionService segmentDefinitionService) in D:\\home\\site\\wwwroot\\SegmentProcessorHandler\\run.csx:line 160\r\n   at Submission#0.<LoadSegmentDefinitions>d__8.MoveNext() in D:\\home\\site\\wwwroot\\SegmentProcessorHandler\\run.csx:line 146\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()\r\n   at Submission#0.<Run>d__7.MoveNext() in D:\\home\\site\\wwwroot\\SegmentProcessorHandler\\run.csx:line 78, Source: Marketware.Domain, Inner Exception:\r\n2016-09-22T10:02:49.389 Function completed (Success, Id=2e708a21-262b-49a7-8cc5-5c741f7426b0)\r\n2016-09-22T10:02:49.389 , Message: Could not load file or assembly 'LinqKit, Version=1.1.7.2, Culture=neutral, PublicKeyToken=bc217f8844052a91' or one of its dependencies. The system cannot find the file specified., Stack Trace:    at Marketware.Domain.Centric.Segments.SegmentDefinition.SegmentDefinitions.CreateEncounterFilterExpressionForDate(String segmentFilterJson)\r\n   at Marketware.Domain.Centric.Segments.SegmentDefinition.SegmentDefinitions.EncounterFilterDefinitionTuple(String filterString)\r\n   at Marketware.Domain.Centric.Segments.SegmentDefinition.Services.SegmentDefinitionService.GetEncounterFilterDefinition(String filterString)\r\n   at Submission#0.AddUpdateSegmentDefinitions(String databaseName, TraceWriter log, String audienceType, Guid segmentId, String filter, ISegmentDefinitionService segmentDefinitionService) in D:\\home\\site\\wwwroot\\SegmentProcessorHandler\\run.csx:line 160\r\n   at Submission#0.<LoadSegmentDefinitions>d__8.MoveNext() in D:\\home\\site\\wwwroot\\SegmentProcessorHandler\\run.csx:line 146\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()\r\n   at Submission#0.<Run>d__7.MoveNext() in\r\n```\r\n\r\n#### Known workarounds\r\n\r\nNA\r\n\r\n#### Related information \r\n\r\nNA\r\n\r\n* Programming language used \r\n* Links to source\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-script/issues/comments/249677239","html_url":"https://github.com/Azure/azure-webjobs-sdk-script/issues/716#issuecomment-249677239","issue_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk-script/issues/716","id":249677239,"user":{"login":"danbueno20","id":13352848,"avatar_url":"https://avatars.githubusercontent.com/u/13352848?v=3","gravatar_id":"","url":"https://api.github.com/users/danbueno20","html_url":"https://github.com/danbueno20","followers_url":"https://api.github.com/users/danbueno20/followers","following_url":"https://api.github.com/users/danbueno20/following{/other_user}","gists_url":"https://api.github.com/users/danbueno20/gists{/gist_id}","starred_url":"https://api.github.com/users/danbueno20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbueno20/subscriptions","organizations_url":"https://api.github.com/users/danbueno20/orgs","repos_url":"https://api.github.com/users/danbueno20/repos","events_url":"https://api.github.com/users/danbueno20/events{/privacy}","received_events_url":"https://api.github.com/users/danbueno20/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T19:48:46Z","updated_at":"2016-09-26T19:48:46Z","body":"@fabiocav As a side question, you mentioned earlier that the automatic package restore was introduced in the 0.5 runtime.  Is there a way to see what changes are added in each new runtime release?  I noticed it is now on 0.6."}}
{"actor":{"display_login":"danbueno20"}}