我有一个错误提示
Error: The function runtime is unable to start. mscorlib: Could not load file or assembly 'Microsoft.Azure.WebJobs.Host, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
我需要在 Azure 门户中设置任何内容吗?我可以在本地计算机上运行它。在我将函数发布到 azure 并尝试运行该函数后,它给了我这个错误。
最佳答案
我在本地遇到了同样的问题,并通过清除本地 nuget 缓存解决了它。请参阅How to clear NuGet package cache using command line?
关于Azure 函数 : Could not load file or assembly WebJobs. 主机,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49620150/