简体   繁体   English

命名空间“Microsoft”中不存在类型或命名空间名称“ServiceBus”?

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

I am using -> Visual Studio 2017 Enterprise Edition, ,.Net Framework 4.5.2 ,Microsoft.ServiceBus.dll version 3.0.0.0我正在使用 -> Visual Studio 2017 企业版,.Net Framework 4.5.2,Microsoft.ServiceBus.dll 版本 3.0.0.0

In my local system not getting any issues but after pushing changes into release pipeline getting error like below.在我的本地系统中没有出现任何问题,但在将更改推送到发布pipeline出现如下错误。

Error CS0234: The type or namespace name 'ServiceBus' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?错误 CS0234:命名空间“Microsoft”中不存在类型或命名空间名称“ServiceBus”(您是否缺少程序集引用?

Did I missed anything我错过了什么吗

Add "Microsoft.Azure.ServiceBus" package to your project:将“Microsoft.Azure.ServiceBus”包添加到您的项目中:

NuGet: Microsoft.Azure.ServiceBus 3.0.0 NuGet:Microsoft.Azure.ServiceBus 3.0.0

Configure your Azure DevOps Pipeline with a NuGet Restore:使用 NuGet 还原配置 Azure DevOps Pipeline:

Azure DevOps: NuGet task Azure DevOps:NuGet 任务

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 命名空间“Microsoft”中不存在类型或命名空间名称“TeamFoundation” - The type or namespace name 'TeamFoundation' does not exist in the namespace 'Microsoft' 命名空间“Microsoft”中不存在类型或命名空间名称“Azure” - The type or namespace name 'Azure' does not exist in the namespace 'Microsoft' 类型或名称空间名称“ Lync”在名称空间“ Microsoft”中不存在 - The type or namespace name 'Lync' does not exist in the namespace 'Microsoft' 命名空间“Microsoft”中不存在类型或命名空间名称“Practices” - The type or namespace name 'Practices' does not exist in the namespace 'Microsoft' 命名空间“Microsoft”中不存在类型或命名空间名称“AspNetCore” - The type or namespace name 'AspNetCore' does not exist in the namespace 'Microsoft' 命名空间“Microsoft.VisualBasic”中不存在类型或命名空间名称“FileIO” - The type or namespace name 'FileIO' does not exist in the namespace 'Microsoft.VisualBasic' 类型或名称空间名称“ DirectX”在名称空间“ Microsoft” Windows 8.1中不存在 - The type or namespace name 'DirectX' does not exist in the namespace 'Microsoft' Windows 8.1 命名空间“Microsoft”中不存在类型或命名空间名称“设备” - The type or namespace name 'Devices' does not exist in the namespace 'Microsoft' 命名空间“Microsoft”中不存在类型或命名空间名称“Bot”? - The type or namespace name 'Bot' does not exist in the namespace 'Microsoft'? 类型或名称空间名称“ FriendlyUrls”在名称空间“ Microsoft.AspNet”中不存在 - The type or namespace name 'FriendlyUrls' does not exist in the namespace 'Microsoft.AspNet'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM