Sequence contains no elements

torsten.bremeyer's Avatar


24 Jan, 2013 02:00 PM

I use the following command:
Octo.exe create-release --project="MyProject" --deployto=Dev.Prod --version="" --packageversion="" --force --waitfordeployment --deploymenttimeout=00:15:00 --server= --apikey=
Octopus Command Line Tool, version

Finding project: MyProject
Handshaking with Octopus server:
Handshake successful. Octopus version:; API version: 2.0.0
Finding environments...
Finding steps for project...
Getting package versions for each step...
Sequence contains no elements
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.FirstTSource at ProjectExtensions.GetPackageForStep(IOctopusSession session, Step step, String version) at OctopusTools.Commands.CreateReleaseCommand.Execute() at OctopusTools.Infrastructure.CommandProcessor.Process(String[] args)

The project has 3 packages to deploy and 3 Steps to execute a Powershell script. I suspect the Octo.exe does not know about the Steps that only contain Powershell scripts.

  1. 1 Posted by torsten.bremeye... on 14 Feb, 2013 01:53 PM

    torsten.bremeyer's Avatar

    I was able to deploy with Octo.exe with the newest changes from
    Thank you Paul

  2. Support Staff 2 Posted by Paul Stovell on 18 Feb, 2013 08:40 AM

    Paul Stovell's Avatar

    Hi Torsten,

    Thanks for letting us know, yes, this issue should now be fixed. You can download Octo.exe from:


  3. torsten.bremeyer closed this discussion on 10 Mar, 2014 07:23 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac