1
votes

I am trying to build ASP.NET core 2.2 project using Azure Devops build pipeline. 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. I deployed same project in Azure App service directly from VS 2017 and it worked their as well.. Thanks in advance for you help.

1
Can you post the content of .csproj file where dependencies are mentioned "Reference". I just need to see where you taking this package from ?Rahul Ruikar
Propably missing a nuget-package or another reference could not get resolved. check your build-logsD.J.

1 Answers

0
votes

It was silly mistake, one of the dll was taking reference from local.