For backround context, this process was working fine, on our old Bamboo server. It has stopped working since we have moved our builds to a new Bamboo server, which is also using a newer version of Visual Studio.
I have seemed to get past all the other build changes, but when it sends the package to Octopus Deploy for Auto-Deployment (Or manual) I get the following error on the step Run a Script.
Deploying package: C:\Octopus\Files\TCR.sln@S1.0.890@B5EC80D41CDAF94CB071C2C169C12D28.nupkg
September 26th 2023 21:11:31
Error
System.NotSupportedException: The given path’s format is not supported.
September 26th 2023 21:11:31
Error
at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
September 26th 2023 21:11:31
Error
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
September 26th 2023 21:11:31
Error
at Calamari.Common.Features.Packages.NuGet.NupkgExtractor.Extract(String packageFile, String directory)
September 26th 2023 21:11:31
Error
at Calamari.Common.Features.Packages.ExtractPackage.Extract(PathToPackage pathToPackage, String targetPath, IPackageExtractor customPackageExtractor)
September 26th 2023 21:11:31
Error
at Calamari.Deployment.ConventionProcessor.RunInstallConventions()
September 26th 2023 21:11:31
Error
at Calamari.Deployment.ConventionProcessor.RunConventions()
September 26th 2023 21:11:31
Error
Running rollback conventions…
September 26th 2023 21:11:31
Error
The given path’s format is not supported.
September 26th 2023 21:11:31
Error
System.NotSupportedException
September 26th 2023 21:11:31
Error
at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
September 26th 2023 21:11:31
Error
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
September 26th 2023 21:11:31
Error
at Calamari.Common.Features.Packages.NuGet.NupkgExtractor.Extract(String packageFile, String directory)
September 26th 2023 21:11:31
Error
at Calamari.Common.Features.Packages.ExtractPackage.Extract(PathToPackage pathToPackage, String targetPath, IPackageExtractor customPackageExtractor)
September 26th 2023 21:11:31
Error
at Calamari.Deployment.ConventionProcessor.RunInstallConventions()
September 26th 2023 21:11:31
Error
at Calamari.Deployment.ConventionProcessor.RunConventions()
September 26th 2023 21:11:31
Error
at Calamari.Commands.DeployPackageCommand.Execute(String commandLineArguments)
September 26th 2023 21:11:31
Error
at Calamari.Common.CalamariFlavourProgram.Run(String args)
September 26th 2023 21:11:32
Fatal
The remote script failed with exit code 100
September 26th 2023 21:11:32
Fatal
The action Deploy Internal DB TCR_Dev And Test NuGet to Tentacle on devsqlappn01 failed