Multiple Nuget packages created with OctoPAck


I noticed that when OctoPack runs it creates the nuget package in the /obj & /bin folder…is there a way to tell it to clean these files after or not create them in the /bin folder. TeamCity adds it to the artifacts folders automatically and we only want the package in one location ideally.

Hi Cstokes,

Thanks for getting in touch! Unfortunately there isn’t a way to change this. You could however add a post-build step to delete the package from the obj folder. The one in the bin folder is required - OctoPack tells TeamCity to capture it as an artifact, so it can’t be deleted otherwise TeamCity wouldn’t be able to capture it. Hope that helps!