I just installed TeamCity to automate our builds, our current solution has both a dev and a main branch. What I'm trying to achieve is to create a development branch and publish it to NuGet to develop our ProGet installation, and then publish the main branch in our Main NuGet channel on the ProGet server.
We use octopus deployment to deploy packages, in TeamCity we have the octopus deploy plugin installed, and if I check the box to start OctoPack, it will create packages and they will appear as artifacts when the assembly is complete. If I try to use the NuGet Pack build step in TeamCity, I get the following error for one of our projects:
[08:33:49] : [pack] Attempting to build package from 'xxx.csproj'. [08:33:50]W: [pack] Unable to find 'xxx.exe'. Make sure the project has been built.
The project was built and works with OctoPack, so why doesnโt it work with NuGet Pack? We have five projects that are under construction, and the first four are working fine, one is a console application, one is the mvc website, and two are class libraries. One that does not work is a Windows service.
The ultimate goal here is to publish these packages on the ProGet personal channel. I am not against using OctoPack, but in my head I wanted to remove this dependency on TeamCity, but I can live with it. However, when I try to use the NuGet Publish runner type, how do I choose to publish any NuGet artifacts that were created?
I searched the search terms like crazy, and I cannot find useful links that describe what you should enter, I would really appreciate any useful comments / answers.
We are using TeamCity version 8.15.
source share