简体   繁体   English

azure devops使用asp.net core 2.2生成错误

[英]azure devops Build error with asp.net core 2.2

I am trying to build ASP.NET core 2.2 project using Azure Devops build pipeline. 我正在尝试使用Azure Devops构建管道来构建ASP.NET core 2.2项目。 I am getting one weird error "error CS0234: The type or namespace name 'Extensions' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)" It is getting build successfully through VS 2017..I am using VS2017 hosted agent in build task. 我收到一个奇怪的错误“错误CS0234:类型或名称空间名称'扩展'在名称空间'Microsoft'中不存在(您是否缺少程序集引用?)“它正在通过VS 2017成功构建。 VS2017托管代理在构建任务中。 I deployed same project in Azure App service directly from VS 2017 and it worked their as well.. Thanks in advance for you help. 我直接从VS 2017在Azure应用服务中部署了相同的项目,它的工作效果也很好。.预先感谢您的帮助。

这是一个愚蠢的错误,其中一个dll正在从本地获取引用。

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

相关问题 将应用程序从 ASP.NET Core 2.2 升级到 ASP.NET Core 3.1 后,Azure DevOps 构建失败 - Azure DevOps build fails after upgrading app to from ASP.NET Core 2.2 to ASP.NET Core 3.1 Azure asp.net核心2.2获得高CPU使用率 - Azure asp.net core 2.2 getting high CPU usage Xamarin、Azure 移动应用程序和 asp.net 核心 2.2 - Xamarin , Azure mobile apps and asp.net core 2.2 ASP.Net Core 2.2 - Azure SAS 令牌? - ASP.Net Core 2.2 - Azure SAS Tokens? 使用 Web Deploy 在 Azure 中部署普通的 ASP.NET Core 2.2 Web 应用程序引发错误 - Deploying a plain ASP.NET Core 2.2 Web App in Azure using Web Deploy is throwing an error ASP .Net Core 2.2发布到Azure - ASP .Net Core 2.2 publish to Azure Azure 应用服务上的 Asp.Net Core 2.2 TLS 1.2 支持 - Asp.Net Core 2.2 TLS 1.2 support on Azure app service 从2.1-> 2.2的ASP.NET Core迁移-Azure部署中的依赖关系问题 - ASP.NET Core Migration from 2.1 -> 2.2 Issue with dependencies in Azure deployment Asp.net 核心 2.2 变量 ASPNETCORE_ENVIRONMENT 不适用于 Azure - Asp.net core 2.2 variable ASPNETCORE_ENVIRONMENT not working on Azure 我们是否应该在ASP.NET Core 2.2+ Web应用程序的Azure App Services上使用AspNetCoreHostingModel? - Should we be using AspNetCoreHostingModel on Azure App Services for ASP.NET Core 2.2+ web applications?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM