Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
PackTask fails due to System.IO.Compression 4.1 not being found #4290
Details about Problem
VS version (if appropriate): Visual Studio 2017 d15rel 26114.0
Detailed repro steps so we can see the same problem
Sometimes it fails with this error:
This is happening again, when using this version:
<ItemGroup> <PackageReference Include="NuGet.Build.Tasks.Pack" Version="4.3.0-preview1-4045" PrivateAssets="all" /> </ItemGroup>
If NuGet Tasks are only built against .netstandard, then the bug here is probably this: dotnet/cli#6333 (comment)
The error I see is intermittent, and that's consistent with @rainersigwald's analysis in the linked bug as well.
@AArnott we don't have a direct dependency on System.IO.Compression , so i am not sure what we can do on our side to change 4.1.0 to 4.0.0 .