我正在使用-> Visual Studio 2017企业版 ,.Net Framework 4.5.2 ,Microsoft.ServiceBus.dll版本3.0.0.0
在我的本地系统中,没有任何问题,但是在将更改推入发行版pipeline
后出现了如下错误。
错误CS0234:类型或名称空间名称'ServiceBus'不存在 在“ Microsoft”命名空间中(您是否缺少程序集引用?
我错过了任何事情
答案 0 :(得分:0)
将“ Microsoft.Azure.ServiceBus”包添加到您的项目中:
NuGet: Microsoft.Azure.ServiceBus 3.0.0
通过NuGet还原配置Azure DevOps管道: