NuGet Publish failed with unexpected error

Hi
The last build step fails with an error when trying to find files to create packages.
Config setting:

The error:
Step 3/3: Publish packages to Octopus Deploy Feed (NuGet Publish)
[Step 3/3] Failed to find files to create packages matching: [*.nupkg] under D:\BuildAgent\Work\1afcd68ecef95eea.
[Step 3/3] Step Publish packages to Octopus Deploy Feed (NuGet Publish) failed with unexpected error
 
I didn't mange to figure out the issue and i hope i can get help here in the forum.
 
Thanks
0
3 comments

Hello,

Do you NuGet package in checkout directory (D:\BuildAgent\Work\1afcd68ecef95eea)? It seems that you should add NuGet Pack build step to build a NuGet package.

0
Avatar
Permanently deleted user

I am getting the following error :

 

Cannot start build runner

 

Once I go inside the build, it shows the following

 

Failed to find files to create packages matching: 

0

Hi Rajib,

 

the same comment Alina made several years ago is still valid. You need to ensure that the packages have been created previously or otherwise the step will fail.

0

Please sign in to leave a comment.