命名空间"Microsoft"中不存在类型或命名空间名称'ServiceBus'?



我正在使用->Visual Studio 2017 Enterprise Edition, ,.Net Framework 4.5.2 ,Microsoft.服务总线.dll版本 3.0.0.0

在我的本地系统中没有遇到任何问题,但在将更改推送到发行版后pipeline出现如下错误。

错误 CS0234:类型或命名空间名称"服务总线"不存在 在命名空间"Microsoft"中(是否缺少程序集引用?

我错过了什么吗

将"Microsoft.Azure.ServiceBus"包添加到项目中:

NuGet: Microsoft.Azure.ServiceBus 3.0.0

使用 NuGet 还原配置 Azure DevOps 管道:

Azure DevOps: NuGet 任务

最新更新