Octopus in VS 2026 image

Hi

I'm switching to the VS2026 image, and run into a few issues with Octopus deploy.

Octo pack is no longer possible, so I've switched to using "octopus package" and that seems to work fine, but once that is done and the package is to be pushed to our Octopus server, I get an error:

Successfully created package Skolevisioner.STILProxy.1.0.0.7-Release.nupkg
Collecting artifacts...
Found artifact 'Skolevisioner.STILProxy.1.0.0.7-Release.nupkg' matching 'Skolevisioner.STILProxy.1.0.0.7-Release.nupkg' path
Uploading artifacts...
[1/1] Skolevisioner.STILProxy.1.0.0.7-Release.nupkg (2,683,313 bytes)...100%
Deploying using Octopus provider
Publishing package(s) to Octopus...
The system cannot find the file specified

What else has changed? What file is it that can't be found?

Thanks,
Steen

  1. Hi Steen,

    VS 2026 image includes a newer version of Octopus CLI which is not yet compatible with AppVeyor Build Agent. Agent expects octo.exe in PATH while new CLI is octopus.exe.

    A few options to fix/workaround:
    1) Use octopus.exe command directly, without deployment provider.
    2) Try copying octopus.exe to octo.exe with:

    copy "C:\Tools\Octopus\octopus.exe" "C:\Tools\Octopus\octo.exe"
    

    3) Download previous Octo CLI during the build, unpack it, and add to PATH.

    Hope that helps.

  2. Hi

    I got "octopus package" working, but still haven't got it pushing the package to our Octopus server.
    Any idea when you'll get around to looking into this? The end of support for dotnet 9 is in November, and we have 5-6 projects we need to move to dotnet 10, but if we can't deploy them without Octopus.

    Thanks,
    Steen

  3. If you are deploying from a build use octopus command directly with deploy_script section in yaml.

  4. We will be working on the fix, for sure, but please see if you can switch to using octopus command directly.

Reply to this discussion Internal reply only staff will see it

Markdown

Attaching KB article:

»

Attach files

Up to 10MB each.

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? 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