我正在尝试使用Octopus Deploy将.Net Web应用程序部署到AWS Elastic Beanstalk,但是部署失败。确切的问题是什么以及如何解决?
PermissionDenied: The process cannot access the file 'C:\Octopus\OctopusServer\Tools\Calamari.Cloud.netfx\12.1.1\AlphaFS.dll' because it is being used by another process.
July 1st 2020 18:40:23Error
At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1:697 char:30
July 1st 2020 18:40:23Error
+ ... sArchived = ZipArchiveHelper $subDirFiles.ToArray() $destinationPath ...
July 1st 2020 18:40:23Error
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
July 1st 2020 18:40:23Error
at ZipArchiveHelper, C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1: line 803
July 1st 2020 18:40:23Error
at CompressSingleDirHelper, C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1: line 697
July 1st 2020 18:40:23Error
at CompressArchiveHelper, C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1: line 608
July 1st 2020 18:40:23Error
at Compress-Archive<End>, C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1: line 217
July 1st 2020 18:40:23Error
at <ScriptBlock>, C:\Octopus\Work\20200701130952-84-18\Script.ps1: line 98
July 1st 2020 18:40:23Error
at <ScriptBlock>, C:\Octopus\Work\20200701130952-84-18\Bootstrap.Script.ps1: line 1574
July 1st 2020 18:40:23Error
at <ScriptBlock>, <No file>: line 1
July 1st 2020 18:40:23Error
at <ScriptBlock>, <No file>: line 1
July 1st 2020 18:40:23Fatal
The remote script failed with exit code 1
July 1st 2020 18:40:23Fatal
The action deploy on the Octopus Server failed