Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

packages folder has different contents after pipeline build compared to local machine

$
0
0

I have a bit of an issue after a build of a solution in an Azure Devops pipeline when compared to building on my local machine.

The pipeline build (In release mode) is adding various other sub folders for different packages like below....

enter image description here

However when I pull the latest code and build locally, my packages folder looks like this...

enter image description here

Because of this difference I'm struggling to run a nuget pack in my pipeline as it appears to be confused about which folder the package is in.

Missing C:\BuildAgent2\_work\2\s\packages\automapper\8.1.1\automapper.8.1.1.nupkgError NU5012: Unable to find 'AutoMapper.8.1.1.nupkg'. Make sure the project has been built.

Only a different version exists in the location returned by the error...

enter image description here

I'm stumped at what the problems are here. Can anybody help?

Thanks,


Viewing all articles
Browse latest Browse all 3067

Trending Articles