You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NuGet packages produced with 3.0 SDK cannot be used by 2.2 SDK users...depending on your timezone #8603
Packages produced with a 3.0 .NET Core SDK cannot be consumed by 2.2 or 2.1 SDK users under the following conditions:
The producer:
Build and released a package with a .NET Core 3.0 SDK
The consumer:
The consumer is on a computer with the timezone set to GMT > 0 (e.g. Europe, Asia)
The consumer is attempting to produce their own package which contains the content from the 3.0 package. Example: PackAsTool projects, which re-distribute all dependencies in a new package.
C:\Program Files\dotnet\sdk\2.2.300\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(199,5): error : The DateTimeOffset specified cannot be converted into a Zip file timestamp. [C:\tmp\MyConsoleTool\MyConsoleTool.csproj]
C:\Program Files\dotnet\sdk\2.2.300\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(199,5): error : Parameter name: value [C:\tmp\MyConsoleTool\MyConsoleTool.csproj]
This appears to be a byproduct of the 3.0 "deterministic pack" feature.
I'm unsure that this is really fixed. I'm still hitting this with SDK 3.0.100-rc2-014269 and the ingestion commit b75150f2f4127a77a166c9552845e86fb24a3282 (dotnet/sdk@3d4cfe6).
Ok, sorry for the confusion. In arcade we haven't received the new version therefore in one of our packages where we depend on nuget libs we are carrying the older 5658 version around.
Activity
fix: disable deterministic NuGet packaging which causes failures for …
nkolev92 commentedon Sep 18, 2019
Thanks for bringing this to our attention @natemcmaster
This is addressed by the revert of the feature in 5.3 / .NET Core 3.0 in NuGet/NuGet.Client#3058.
The long term plan is tracked in #8601 and will account for this scenario.
nkolev92 commentedon Sep 18, 2019
Closing this per my above comment, we'll certainly account for this in our future work for deterministic.
ViktorHofer commentedon Sep 20, 2019
I'm unsure that this is really fixed. I'm still hitting this with SDK 3.0.100-rc2-014269 and the ingestion commit b75150f2f4127a77a166c9552845e86fb24a3282 (dotnet/sdk@3d4cfe6).
ViktorHofer commentedon Sep 20, 2019
cc @rrelyea @ericstj
ViktorHofer commentedon Sep 20, 2019
Ok, sorry for the confusion. In arcade we haven't received the new version therefore in one of our packages where we depend on nuget libs we are carrying the older 5658 version around.