私はproject.jsonのパッケージに依存するカスタムDLLを持っています。次のエラーが表示されます。Azure関数のカスタムDLLはproject.jsonのNugetパッケージに依存できますか?
2017-05-25T21:04:18.152 Exception while executing function:
Functions.TimerTriggerCSharp1. mscorlib: Exception has been thrown by the target of an invocation. f-TimerTriggerCSharp1__631134587: Could not load file or assembly 'MyAssemblyName, Version=MyAssemblyVersion, Culture=neutral, PublicKeyToken=MyAssemblyToken' or one of its dependencies. The system cannot find the file specified.
私はbin/folderにアセンブリを追加し、フルパスで参照しています。アセンブリは、project.jsonで定義した他のNugetパッケージに依存します。
エラーが表示される理由は何ですか?
私は最近同様の質問をしました。その情報がGitHubスレッドに役立つかどうかを確認してください:https://stackoverflow.com/questions/42478305/how-do-i-load-nuget-packages-that-a-custom-dll-depends- on – Jaxidian