We are using Teamcity to produce two NuGet packages for our website. Once is a build using the Debug build configuration and one is built using the Release configuration. This is because we deploy the ProjectName.Debug package to our Dev environment and the ProjectName.Live package to the Live/Production servers.
So we have the following build artefacts:
We then are using the TeamCity step “Create Release” to run Octopus which has a “Process Step” of “Deploy NuGetPackage” which have configured using the following in the NuGet Package ID field:
We are getting an error message in the TeamCity build log of “The version number for step ‘ProjectName’ cannot be automatically resolved because the feed or package ID is dynamic”.
This issue on GitHub seems to indicate that this is possible https://github.com/OctopusDeploy/Issues/issues/671 but it does not work for us.
We are essentially trying to deploy the Debug package to our Dev environment and the Release package to the Live environment.