编程语言
首页 > 编程语言> > c# – 使用.net core 2类库的Azure函数

c# – 使用.net core 2类库的Azure函数

作者:互联网

由于ASP.Net Core中仍然不支持Webjobs,我将使用Azure功能.

我有2个类库,使用.net核心2构建.我可以将它们引用到我的Azure功能项目,没有任何问题但是当我尝试发布时,我得到了这个错误.

Error

这是从Azure功能到我的lib的引用
enter image description here

我对如何使这项工作有任何想法?没有改变我的类lib?

解决方法:

Azure Functions目前不支持.Net Core 2(更具体地说,.Net Standard 2),但是,似乎团队正积极致力于获得此支持…请参阅此处:Port runtime to .NET Core

Runtime will be ported to target Netstandard 2.0.

根据库的功能,您可能会看到它是否可以定位目前支持的Netstandard 1.3

This issue will track the .NET Core port activities for porting the runtime to .NET core. Note that netstandard 1.3 assemblies can be used on Azure Functions and this is fully supported.

更新:基于@derape评论增加了清晰度

标签:c,asp-net-core,azure-webjobs,azure-functions,azure-webjobssdk
来源: https://codeday.me/bug/20190717/1486748.html