簡體   English   中英

命名空間“Microsoft”中不存在類型或命名空間名稱“ServiceBus”?

[英]The type or namespace name 'ServiceBus' does not exist in the namespace 'Microsoft'?

我正在使用 -> Visual Studio 2017 企業版,.Net Framework 4.5.2,Microsoft.ServiceBus.dll 版本 3.0.0.0

在我的本地系統中沒有出現任何問題,但在將更改推送到發布pipeline出現如下錯誤。

錯誤 CS0234:命名空間“Microsoft”中不存在類型或命名空間名稱“ServiceBus”(您是否缺少程序集引用?

我錯過了什么嗎

將“Microsoft.Azure.ServiceBus”包添加到您的項目中:

NuGet:Microsoft.Azure.ServiceBus 3.0.0

使用 NuGet 還原配置 Azure DevOps Pipeline:

Azure DevOps:NuGet 任務

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM