OctopusDeploy / OctopusClients

| Public | Octopus.Client for commanding Octopus servers

Home Page:https://octopus.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

packing files with missing modified timestamp throws exception

zentron opened this issue · comments

commented

image

System.ArgumentOutOfRangeException: The DateTimeOffset specified cannot be converted into a Zip file timestamp.

This is because of a way that System.IO.Compression sets the date time.

https://github.com/dotnet/corefx/blob/master/src/System.IO.Compression/src/System/IO/Compression/ZipArchiveEntry.cs#L216

commented

The provided fix for this will only be available for zip since .nuget packaging takes place inside NuGet's code.