在 Azure 函数中引用 Newtonsoft.Json

Reference Newtonsoft.Json in a Azure function

我想在我的 Azure 函数中使用 Newtonsoft.Json,但如果我使用 #r Newtonsoft.Json,如文档中所定义,我会收到错误 "Internal Server Error 500"。我做错了什么

您需要使用

#r "NewtonSoft.Json"

包括引号!

桑德