Octodiff not found

An error occurs when trying to upload a package to the server using octo.exe.
I am using Octo.exe CLI 4.43.1 (Windows 32-bit).

PS> octo push --package package.1.0.0.nupkg --replace-existing
Octopus Deploy Command Line Tool, version 4.43.1
Detected automation environment: “NoneOrUnknown”
Handshaking with Octopus Server: https://example.octopus.app/
Handshake successful. Octopus version: 2018.9.9; API version: 3.0.0
Authenticated as: foobar user@example.com
Pushing package: package.1.0.0.nupkg…
Requesting signature for delta compression from the server for upload of a package with id ‘package’ and version ‘1.0.0’
Something went wrong while performing a delta transfer: Could not load file or assembly ‘Octodiff, Version=1.2.1.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified.
Falling back to pushing the complete package to the server
Package transfer completed

One of the following methods, no error occurs.

  • Using the Octo CLI (Windows 32-bit) v.4.42.6
  • Using the Octo CLI (.NET Core) v4.43.1
  • Copy Octodiff.dll from the package of Octo CLI (.NET Core) v4.43.1 to the directory of Octo CLI (Windows 32-bit) v.4.43.1.

Hi @aetos, thanks for reaching out.

This does appear to be a bug with the way the Windows octo.exe file is being built. An issue has been created at https://github.com/OctopusDeploy/Issues/issues/5175.

As you have noted already the workaround is to copy the Octodiff.dll file alongside octo.exe.

I apologize for the inconvenience.

Regards
Matt C

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.