Thanks for getting in touch. Sorry you’re having trouble with the build steps, can I just check a couple of things to make sure I understand your scenario fully?
Is the project you are trying to package a library (e.g. class library) or an application (e.g. ASP.NET)? I suspect the latter, because the TeamCity step you are using runs dotnet pack under the hood, and that is designed for packaging libraries and does not produce any output for an application project.
In this case I’d recommend using our Octopus Pack step, which uses octo.exe pack under the hood and is designed for application packaging. I wrote a blog post about this recently that might be of assistance.
Hope that helps and please let me know if I can assist further.