diff options
author | Matt Ward <ward.matt@gmail.com> | 2016-06-14 20:58:45 +0300 |
---|---|---|
committer | Matt Ward <ward.matt@gmail.com> | 2016-06-14 20:58:45 +0300 |
commit | 19e66963339f94446db43541fd67908fed03fc00 (patch) | |
tree | c43f97ed8c4d6dccda080294b63530af0e5dd0be /NuGet.Resolver.dll | |
parent | c400e3cf70578f033ef011e94bbe61d0847ac23f (diff) |
Add custom build of NuGet 3.4.3 with mono timezone workaround.nuget3
When the local timezone is a positive offset from UTC then certain
NuGet packages will fail to extract on Mono with the error:
System.ArgumentOutOfRangeException: The UTC time represented when the
offset is applied must be between year 0 and 10,000.
Parameter name: offset
at System.DateTimeOffset.ValidateDate (DateTime dateTime, TimeSpan offset)
at System.DateTimeOffset..ctor (DateTime dateTime)
at System.DateTimeOffset.op_Implicit (DateTime dateTime)
at System.IO.Compression.ZipArchiveEntry.get_LastWriteTime ()
at NuGet.Packaging.PackageArchiveReader.CopyFiles (System.String destination, IEnumerable`1 packageFiles, NuGet.Packaging.Core.ExtractPackageFileDelegate extractFile, CancellationToken token)
at NuGet.Packaging.PackageExtractor.ExtractPackage (NuGet.Packaging.PackageReaderBase packageReader, System.IO.Stream packageStream, NuGet.Packaging.PackagePathResolver packagePathResolver, NuGet.Packaging.PackageExtractionContext packageExtractionContext, CancellationToken token)
This only happens for certain NuGet packages, such as XamarinComponent
1.1.0.32. As a workaround the ArgumentOutOfRangeException is now
handled when reading the LastWriteTime for the zip entry instead of
just when trying to write the file's last write time.
Custom source code is available from:
https://github.com/mrward/NuGet.Client/tree/release-3.4.3-monodevelop
Diffstat (limited to 'NuGet.Resolver.dll')
-rw-r--r-- | NuGet.Resolver.dll | bin | 42496 -> 42496 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/NuGet.Resolver.dll b/NuGet.Resolver.dll Binary files differindex 68f5960..158f5f1 100644 --- a/NuGet.Resolver.dll +++ b/NuGet.Resolver.dll |