是否可以在nuget软件包中调用管弦乐节或ActivityTrigger函数?(C#)

发布于 2025-01-25 03:17:59 字数 409 浏览 3 评论 0原文

正如问题所述,我想将编排功能和活动功能放入nuget软件包中,以供其他项目致电。但是,在本地测试之后,当我在另一个项目中调用编目功能(带有另一个CSPROJ文件)时,我会得到此错误:

System.Private.CoreLib: Exception while executing function: 
FunctionName. Microsoft.Azure.WebJobs.Extensions.DurableTask: The 
function 'FunctionName' doesn't exist, is disabled, or is not an 
orchestrator function. Additional info: No orchestrator functions are
currently registered!

As the question has stated, I want to put orchestrator functions and activity functions into a nuget package for other projects to call. However, after testing locally, when I invoke an orchestrator function in another project (with another csproj file), I get this error:

System.Private.CoreLib: Exception while executing function: 
FunctionName. Microsoft.Azure.WebJobs.Extensions.DurableTask: The 
function 'FunctionName' doesn't exist, is disabled, or is not an 
orchestrator function. Additional info: No orchestrator functions are
currently registered!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文