应用偏移量时表示的 UTC 时间必须介于 0 年和 10,000 年之间
The UTC time represented when the offset is applied must be between year 0 and 10,000
在 Xamarin-Studio 中,当我尝试恢复 nuget 包时,出现错误:
Restoring NuGet package modernhttpclient.2.4.2.
Restoring NuGet package Xamarin.Build.Download.0.2.1.
Restoring NuGet package Xamarin.Android.Support.Animated.Vector.Drawable.23.3.0.
Restoring NuGet package Xamarin.Android.Support.v7.CardView.23.3.0.
Restoring NuGet package Xamarin.Android.Support.v7.MediaRouter.23.3.0.
Restoring NuGet package Xamarin.GooglePlayServices.Base.29.0.0.1.
Restoring NuGet package Xamarin.GooglePlayServices.Basement.29.0.0.1.
Restoring NuGet package Xamarin.GooglePlayServices.Maps.29.0.0.1.
Restoring NuGet package Xamarin.GooglePlayServices.Location.29.0.0.1.
GET https://api.nuget.org/v3-flatcontainer/xamarin.build.download/0.2.1/xamarin.build.download.0.2.1.nupkg
GET https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.maps/29.0.0.1/xamarin.googleplayservices.maps.29.0.0.1.nupkg
GET https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.location/29.0.0.1/xamarin.googleplayservices.location.29.0.0.1.nupkg
GET https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.basement/29.0.0.1/xamarin.googleplayservices.basement.29.0.0.1.nupkg
GET https://api.nuget.org/v3-flatcontainer/modernhttpclient/2.4.2/modernhttpclient.2.4.2.nupkg
GET https://api.nuget.org/v3-flatcontainer/xamarin.android.support.animated.vector.drawable/23.3.0/xamarin.android.support.animated.vector.drawable.23.3.0.nupkg
GET https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.cardview/23.3.0/xamarin.android.support.v7.cardview.23.3.0.nupkg
GET https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.mediarouter/23.3.0/xamarin.android.support.v7.mediarouter.23.3.0.nupkg
GET https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.base/29.0.0.1/xamarin.googleplayservices.base.29.0.0.1.nupkg
OK https://api.nuget.org/v3-flatcontainer/xamarin.build.download/0.2.1/xamarin.build.download.0.2.1.nupkg 446ms
Acquiring lock for the installation of Xamarin.Build.Download 0.2.1
Acquired lock for the installation of Xamarin.Build.Download 0.2.1
Installing Xamarin.Build.Download 0.2.1.
Error downloading 'Xamarin.Build.Download.0.2.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.build.download/0.2.1/xamarin.build.download.0.2.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Unable to find version '0.2.1' of package 'Xamarin.Build.Download'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Build.Download.0.2.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.build.download/0.2.1/xamarin.build.download.0.2.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Sample.iOS: Unable to find version '0.2.1' of package 'Xamarin.Build.Download'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Build.Download.0.2.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.build.download/0.2.1/xamarin.build.download.0.2.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
OK https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.location/29.0.0.1/xamarin.googleplayservices.location.29.0.0.1.nupkg 735ms
Acquiring lock for the installation of Xamarin.GooglePlayServices.Location 29.0.0.1
Acquired lock for the installation of Xamarin.GooglePlayServices.Location 29.0.0.1
Installing Xamarin.GooglePlayServices.Location 29.0.0.1.
Error downloading 'Xamarin.GooglePlayServices.Location.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.location/29.0.0.1/xamarin.googleplayservices.location.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Location'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Location.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.location/29.0.0.1/xamarin.googleplayservices.location.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Android: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Location'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Location.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.location/29.0.0.1/xamarin.googleplayservices.location.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
OK https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.basement/29.0.0.1/xamarin.googleplayservices.basement.29.0.0.1.nupkg 978ms
Acquiring lock for the installation of Xamarin.GooglePlayServices.Basement 29.0.0.1
Acquired lock for the installation of Xamarin.GooglePlayServices.Basement 29.0.0.1
Installing Xamarin.GooglePlayServices.Basement 29.0.0.1.
OK https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.maps/29.0.0.1/xamarin.googleplayservices.maps.29.0.0.1.nupkg 1036ms
Acquiring lock for the installation of Xamarin.GooglePlayServices.Maps 29.0.0.1
Acquired lock for the installation of Xamarin.GooglePlayServices.Maps 29.0.0.1
Installing Xamarin.GooglePlayServices.Maps 29.0.0.1.
Error downloading 'Xamarin.GooglePlayServices.Maps.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.maps/29.0.0.1/xamarin.googleplayservices.maps.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Maps'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Maps.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.maps/29.0.0.1/xamarin.googleplayservices.maps.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Sample.Droid: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Maps'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Maps.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.maps/29.0.0.1/xamarin.googleplayservices.maps.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Android: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Maps'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Maps.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.maps/29.0.0.1/xamarin.googleplayservices.maps.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project CalloutSample.Droid: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Maps'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Maps.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.maps/29.0.0.1/xamarin.googleplayservices.maps.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Error downloading 'Xamarin.GooglePlayServices.Basement.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.basement/29.0.0.1/xamarin.googleplayservices.basement.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Basement'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Basement.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.basement/29.0.0.1/xamarin.googleplayservices.basement.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Sample.Droid: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Basement'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Basement.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.basement/29.0.0.1/xamarin.googleplayservices.basement.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Android: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Basement'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Basement.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.basement/29.0.0.1/xamarin.googleplayservices.basement.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project CalloutSample.Droid: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Basement'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Basement.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.basement/29.0.0.1/xamarin.googleplayservices.basement.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
OK https://api.nuget.org/v3-flatcontainer/modernhttpclient/2.4.2/modernhttpclient.2.4.2.nupkg 1230ms
Acquiring lock for the installation of modernhttpclient 2.4.2
Acquired lock for the installation of modernhttpclient 2.4.2
Installing modernhttpclient 2.4.2.
OK https://api.nuget.org/v3-flatcontainer/xamarin.android.support.animated.vector.drawable/23.3.0/xamarin.android.support.animated.vector.drawable.23.3.0.nupkg 1239ms
Acquiring lock for the installation of Xamarin.Android.Support.Animated.Vector.Drawable 23.3.0
Acquired lock for the installation of Xamarin.Android.Support.Animated.Vector.Drawable 23.3.0
Installing Xamarin.Android.Support.Animated.Vector.Drawable 23.3.0.
Error downloading 'Xamarin.Android.Support.Animated.Vector.Drawable.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.animated.vector.drawable/23.3.0/xamarin.android.support.animated.vector.drawable.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Unable to find version '23.3.0' of package 'Xamarin.Android.Support.Animated.Vector.Drawable'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.Animated.Vector.Drawable.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.animated.vector.drawable/23.3.0/xamarin.android.support.animated.vector.drawable.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Sample.Droid: Unable to find version '23.3.0' of package 'Xamarin.Android.Support.Animated.Vector.Drawable'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.Animated.Vector.Drawable.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.animated.vector.drawable/23.3.0/xamarin.android.support.animated.vector.drawable.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Android: Unable to find version '23.3.0' of package 'Xamarin.Android.Support.Animated.Vector.Drawable'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.Animated.Vector.Drawable.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.animated.vector.drawable/23.3.0/xamarin.android.support.animated.vector.drawable.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project CalloutSample.Droid: Unable to find version '23.3.0' of package 'Xamarin.Android.Support.Animated.Vector.Drawable'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.Animated.Vector.Drawable.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.animated.vector.drawable/23.3.0/xamarin.android.support.animated.vector.drawable.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
OK https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.cardview/23.3.0/xamarin.android.support.v7.cardview.23.3.0.nupkg 1713ms
Acquiring lock for the installation of Xamarin.Android.Support.v7.CardView 23.3.0
Acquired lock for the installation of Xamarin.Android.Support.v7.CardView 23.3.0
Installing Xamarin.Android.Support.v7.CardView 23.3.0.
Error downloading 'Xamarin.Android.Support.v7.CardView.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.cardview/23.3.0/xamarin.android.support.v7.cardview.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Unable to find version '23.3.0' of package 'Xamarin.Android.Support.v7.CardView'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.v7.CardView.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.cardview/23.3.0/xamarin.android.support.v7.cardview.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Sample.Droid: Unable to find version '23.3.0' of package 'Xamarin.Android.Support.v7.CardView'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.v7.CardView.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.cardview/23.3.0/xamarin.android.support.v7.cardview.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Android: Unable to find version '23.3.0' of package 'Xamarin.Android.Support.v7.CardView'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.v7.CardView.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.cardview/23.3.0/xamarin.android.support.v7.cardview.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project CalloutSample.Droid: Unable to find version '23.3.0' of package 'Xamarin.Android.Support.v7.CardView'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.v7.CardView.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.cardview/23.3.0/xamarin.android.support.v7.cardview.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Error downloading 'modernhttpclient.2.4.2' from 'https://api.nuget.org/v3-flatcontainer/modernhttpclient/2.4.2/modernhttpclient.2.4.2.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Unable to find version '2.4.2' of package 'modernhttpclient'.
https://api.nuget.org/v3/index.json: Error downloading 'modernhttpclient.2.4.2' from 'https://api.nuget.org/v3-flatcontainer/modernhttpclient/2.4.2/modernhttpclient.2.4.2.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap: Unable to find version '2.4.2' of package 'modernhttpclient'.
https://api.nuget.org/v3/index.json: Error downloading 'modernhttpclient.2.4.2' from 'https://api.nuget.org/v3-flatcontainer/modernhttpclient/2.4.2/modernhttpclient.2.4.2.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
OK https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.base/29.0.0.1/xamarin.googleplayservices.base.29.0.0.1.nupkg 2251ms
Acquiring lock for the installation of Xamarin.GooglePlayServices.Base 29.0.0.1
Acquired lock for the installation of Xamarin.GooglePlayServices.Base 29.0.0.1
Installing Xamarin.GooglePlayServices.Base 29.0.0.1.
Error downloading 'Xamarin.GooglePlayServices.Base.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.base/29.0.0.1/xamarin.googleplayservices.base.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Base'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Base.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.base/29.0.0.1/xamarin.googleplayservices.base.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Sample.Droid: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Base'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Base.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.base/29.0.0.1/xamarin.googleplayservices.base.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Android: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Base'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Base.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.base/29.0.0.1/xamarin.googleplayservices.base.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project CalloutSample.Droid: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Base'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Base.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.base/29.0.0.1/xamarin.googleplayservices.base.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
OK https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.mediarouter/23.3.0/xamarin.android.support.v7.mediarouter.23.3.0.nupkg 2281ms
Acquiring lock for the installation of Xamarin.Android.Support.v7.MediaRouter 23.3.0
Acquired lock for the installation of Xamarin.Android.Support.v7.MediaRouter 23.3.0
Installing Xamarin.Android.Support.v7.MediaRouter 23.3.0.
Error downloading 'Xamarin.Android.Support.v7.MediaRouter.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.mediarouter/23.3.0/xamarin.android.support.v7.mediarouter.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Unable to find version '23.3.0' of package 'Xamarin.Android.Support.v7.MediaRouter'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.v7.MediaRouter.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.mediarouter/23.3.0/xamarin.android.support.v7.mediarouter.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Sample.Droid: Unable to find version '23.3.0' of package 'Xamarin.Android.Support.v7.MediaRouter'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.v7.MediaRouter.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.mediarouter/23.3.0/xamarin.android.support.v7.mediarouter.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Android: Unable to find version '23.3.0' of package 'Xamarin.Android.Support.v7.MediaRouter'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.v7.MediaRouter.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.mediarouter/23.3.0/xamarin.android.support.v7.mediarouter.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project CalloutSample.Droid: Unable to find version '23.3.0' of package 'Xamarin.Android.Support.v7.MediaRouter'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.v7.MediaRouter.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.mediarouter/23.3.0/xamarin.android.support.v7.mediarouter.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed.
似乎所有的错误都围绕着这个:
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
有人可以帮忙吗?
编辑
mono version is:
$ mono --version
Mono JIT compiler version 4.4.0 (mono-4.4.0-branch-c7-baseline/5995f74 Thu Jun 2 15:13:10 EDT 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: normal
SIGSEGV: altstack
Notification: kqueue
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: yes(3.6.0svn-mono-master/a173357)
GC: sgen
这是一个影响 NuGet 3 的 bug in Mono。
有两种解决方法:
- 使用可从 NuGet.org 下载的 NuGet 2。它还附带 Mono 4.4 和更早版本。
- 更改您机器的时区,使其使用 GMT+0 或负时差。如果您的时区具有正偏移量,则会出现 Mono 错误。
在 Xamarin-Studio 中,当我尝试恢复 nuget 包时,出现错误:
Restoring NuGet package modernhttpclient.2.4.2.
Restoring NuGet package Xamarin.Build.Download.0.2.1.
Restoring NuGet package Xamarin.Android.Support.Animated.Vector.Drawable.23.3.0.
Restoring NuGet package Xamarin.Android.Support.v7.CardView.23.3.0.
Restoring NuGet package Xamarin.Android.Support.v7.MediaRouter.23.3.0.
Restoring NuGet package Xamarin.GooglePlayServices.Base.29.0.0.1.
Restoring NuGet package Xamarin.GooglePlayServices.Basement.29.0.0.1.
Restoring NuGet package Xamarin.GooglePlayServices.Maps.29.0.0.1.
Restoring NuGet package Xamarin.GooglePlayServices.Location.29.0.0.1.
GET https://api.nuget.org/v3-flatcontainer/xamarin.build.download/0.2.1/xamarin.build.download.0.2.1.nupkg
GET https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.maps/29.0.0.1/xamarin.googleplayservices.maps.29.0.0.1.nupkg
GET https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.location/29.0.0.1/xamarin.googleplayservices.location.29.0.0.1.nupkg
GET https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.basement/29.0.0.1/xamarin.googleplayservices.basement.29.0.0.1.nupkg
GET https://api.nuget.org/v3-flatcontainer/modernhttpclient/2.4.2/modernhttpclient.2.4.2.nupkg
GET https://api.nuget.org/v3-flatcontainer/xamarin.android.support.animated.vector.drawable/23.3.0/xamarin.android.support.animated.vector.drawable.23.3.0.nupkg
GET https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.cardview/23.3.0/xamarin.android.support.v7.cardview.23.3.0.nupkg
GET https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.mediarouter/23.3.0/xamarin.android.support.v7.mediarouter.23.3.0.nupkg
GET https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.base/29.0.0.1/xamarin.googleplayservices.base.29.0.0.1.nupkg
OK https://api.nuget.org/v3-flatcontainer/xamarin.build.download/0.2.1/xamarin.build.download.0.2.1.nupkg 446ms
Acquiring lock for the installation of Xamarin.Build.Download 0.2.1
Acquired lock for the installation of Xamarin.Build.Download 0.2.1
Installing Xamarin.Build.Download 0.2.1.
Error downloading 'Xamarin.Build.Download.0.2.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.build.download/0.2.1/xamarin.build.download.0.2.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Unable to find version '0.2.1' of package 'Xamarin.Build.Download'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Build.Download.0.2.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.build.download/0.2.1/xamarin.build.download.0.2.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Sample.iOS: Unable to find version '0.2.1' of package 'Xamarin.Build.Download'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Build.Download.0.2.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.build.download/0.2.1/xamarin.build.download.0.2.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
OK https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.location/29.0.0.1/xamarin.googleplayservices.location.29.0.0.1.nupkg 735ms
Acquiring lock for the installation of Xamarin.GooglePlayServices.Location 29.0.0.1
Acquired lock for the installation of Xamarin.GooglePlayServices.Location 29.0.0.1
Installing Xamarin.GooglePlayServices.Location 29.0.0.1.
Error downloading 'Xamarin.GooglePlayServices.Location.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.location/29.0.0.1/xamarin.googleplayservices.location.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Location'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Location.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.location/29.0.0.1/xamarin.googleplayservices.location.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Android: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Location'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Location.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.location/29.0.0.1/xamarin.googleplayservices.location.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
OK https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.basement/29.0.0.1/xamarin.googleplayservices.basement.29.0.0.1.nupkg 978ms
Acquiring lock for the installation of Xamarin.GooglePlayServices.Basement 29.0.0.1
Acquired lock for the installation of Xamarin.GooglePlayServices.Basement 29.0.0.1
Installing Xamarin.GooglePlayServices.Basement 29.0.0.1.
OK https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.maps/29.0.0.1/xamarin.googleplayservices.maps.29.0.0.1.nupkg 1036ms
Acquiring lock for the installation of Xamarin.GooglePlayServices.Maps 29.0.0.1
Acquired lock for the installation of Xamarin.GooglePlayServices.Maps 29.0.0.1
Installing Xamarin.GooglePlayServices.Maps 29.0.0.1.
Error downloading 'Xamarin.GooglePlayServices.Maps.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.maps/29.0.0.1/xamarin.googleplayservices.maps.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Maps'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Maps.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.maps/29.0.0.1/xamarin.googleplayservices.maps.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Sample.Droid: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Maps'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Maps.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.maps/29.0.0.1/xamarin.googleplayservices.maps.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Android: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Maps'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Maps.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.maps/29.0.0.1/xamarin.googleplayservices.maps.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project CalloutSample.Droid: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Maps'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Maps.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.maps/29.0.0.1/xamarin.googleplayservices.maps.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Error downloading 'Xamarin.GooglePlayServices.Basement.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.basement/29.0.0.1/xamarin.googleplayservices.basement.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Basement'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Basement.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.basement/29.0.0.1/xamarin.googleplayservices.basement.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Sample.Droid: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Basement'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Basement.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.basement/29.0.0.1/xamarin.googleplayservices.basement.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Android: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Basement'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Basement.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.basement/29.0.0.1/xamarin.googleplayservices.basement.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project CalloutSample.Droid: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Basement'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Basement.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.basement/29.0.0.1/xamarin.googleplayservices.basement.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
OK https://api.nuget.org/v3-flatcontainer/modernhttpclient/2.4.2/modernhttpclient.2.4.2.nupkg 1230ms
Acquiring lock for the installation of modernhttpclient 2.4.2
Acquired lock for the installation of modernhttpclient 2.4.2
Installing modernhttpclient 2.4.2.
OK https://api.nuget.org/v3-flatcontainer/xamarin.android.support.animated.vector.drawable/23.3.0/xamarin.android.support.animated.vector.drawable.23.3.0.nupkg 1239ms
Acquiring lock for the installation of Xamarin.Android.Support.Animated.Vector.Drawable 23.3.0
Acquired lock for the installation of Xamarin.Android.Support.Animated.Vector.Drawable 23.3.0
Installing Xamarin.Android.Support.Animated.Vector.Drawable 23.3.0.
Error downloading 'Xamarin.Android.Support.Animated.Vector.Drawable.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.animated.vector.drawable/23.3.0/xamarin.android.support.animated.vector.drawable.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Unable to find version '23.3.0' of package 'Xamarin.Android.Support.Animated.Vector.Drawable'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.Animated.Vector.Drawable.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.animated.vector.drawable/23.3.0/xamarin.android.support.animated.vector.drawable.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Sample.Droid: Unable to find version '23.3.0' of package 'Xamarin.Android.Support.Animated.Vector.Drawable'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.Animated.Vector.Drawable.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.animated.vector.drawable/23.3.0/xamarin.android.support.animated.vector.drawable.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Android: Unable to find version '23.3.0' of package 'Xamarin.Android.Support.Animated.Vector.Drawable'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.Animated.Vector.Drawable.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.animated.vector.drawable/23.3.0/xamarin.android.support.animated.vector.drawable.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project CalloutSample.Droid: Unable to find version '23.3.0' of package 'Xamarin.Android.Support.Animated.Vector.Drawable'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.Animated.Vector.Drawable.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.animated.vector.drawable/23.3.0/xamarin.android.support.animated.vector.drawable.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
OK https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.cardview/23.3.0/xamarin.android.support.v7.cardview.23.3.0.nupkg 1713ms
Acquiring lock for the installation of Xamarin.Android.Support.v7.CardView 23.3.0
Acquired lock for the installation of Xamarin.Android.Support.v7.CardView 23.3.0
Installing Xamarin.Android.Support.v7.CardView 23.3.0.
Error downloading 'Xamarin.Android.Support.v7.CardView.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.cardview/23.3.0/xamarin.android.support.v7.cardview.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Unable to find version '23.3.0' of package 'Xamarin.Android.Support.v7.CardView'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.v7.CardView.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.cardview/23.3.0/xamarin.android.support.v7.cardview.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Sample.Droid: Unable to find version '23.3.0' of package 'Xamarin.Android.Support.v7.CardView'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.v7.CardView.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.cardview/23.3.0/xamarin.android.support.v7.cardview.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Android: Unable to find version '23.3.0' of package 'Xamarin.Android.Support.v7.CardView'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.v7.CardView.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.cardview/23.3.0/xamarin.android.support.v7.cardview.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project CalloutSample.Droid: Unable to find version '23.3.0' of package 'Xamarin.Android.Support.v7.CardView'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.v7.CardView.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.cardview/23.3.0/xamarin.android.support.v7.cardview.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Error downloading 'modernhttpclient.2.4.2' from 'https://api.nuget.org/v3-flatcontainer/modernhttpclient/2.4.2/modernhttpclient.2.4.2.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Unable to find version '2.4.2' of package 'modernhttpclient'.
https://api.nuget.org/v3/index.json: Error downloading 'modernhttpclient.2.4.2' from 'https://api.nuget.org/v3-flatcontainer/modernhttpclient/2.4.2/modernhttpclient.2.4.2.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap: Unable to find version '2.4.2' of package 'modernhttpclient'.
https://api.nuget.org/v3/index.json: Error downloading 'modernhttpclient.2.4.2' from 'https://api.nuget.org/v3-flatcontainer/modernhttpclient/2.4.2/modernhttpclient.2.4.2.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
OK https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.base/29.0.0.1/xamarin.googleplayservices.base.29.0.0.1.nupkg 2251ms
Acquiring lock for the installation of Xamarin.GooglePlayServices.Base 29.0.0.1
Acquired lock for the installation of Xamarin.GooglePlayServices.Base 29.0.0.1
Installing Xamarin.GooglePlayServices.Base 29.0.0.1.
Error downloading 'Xamarin.GooglePlayServices.Base.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.base/29.0.0.1/xamarin.googleplayservices.base.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Base'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Base.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.base/29.0.0.1/xamarin.googleplayservices.base.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Sample.Droid: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Base'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Base.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.base/29.0.0.1/xamarin.googleplayservices.base.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Android: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Base'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Base.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.base/29.0.0.1/xamarin.googleplayservices.base.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project CalloutSample.Droid: Unable to find version '29.0.0.1' of package 'Xamarin.GooglePlayServices.Base'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.GooglePlayServices.Base.29.0.0.1' from 'https://api.nuget.org/v3-flatcontainer/xamarin.googleplayservices.base/29.0.0.1/xamarin.googleplayservices.base.29.0.0.1.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
OK https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.mediarouter/23.3.0/xamarin.android.support.v7.mediarouter.23.3.0.nupkg 2281ms
Acquiring lock for the installation of Xamarin.Android.Support.v7.MediaRouter 23.3.0
Acquired lock for the installation of Xamarin.Android.Support.v7.MediaRouter 23.3.0
Installing Xamarin.Android.Support.v7.MediaRouter 23.3.0.
Error downloading 'Xamarin.Android.Support.v7.MediaRouter.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.mediarouter/23.3.0/xamarin.android.support.v7.mediarouter.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Unable to find version '23.3.0' of package 'Xamarin.Android.Support.v7.MediaRouter'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.v7.MediaRouter.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.mediarouter/23.3.0/xamarin.android.support.v7.mediarouter.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Sample.Droid: Unable to find version '23.3.0' of package 'Xamarin.Android.Support.v7.MediaRouter'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.v7.MediaRouter.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.mediarouter/23.3.0/xamarin.android.support.v7.mediarouter.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project TK.CustomMap.Android: Unable to find version '23.3.0' of package 'Xamarin.Android.Support.v7.MediaRouter'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.v7.MediaRouter.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.mediarouter/23.3.0/xamarin.android.support.v7.mediarouter.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed for project CalloutSample.Droid: Unable to find version '23.3.0' of package 'Xamarin.Android.Support.v7.MediaRouter'.
https://api.nuget.org/v3/index.json: Error downloading 'Xamarin.Android.Support.v7.MediaRouter.23.3.0' from 'https://api.nuget.org/v3-flatcontainer/xamarin.android.support.v7.mediarouter/23.3.0/xamarin.android.support.v7.mediarouter.23.3.0.nupkg'.
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
Package restore failed.
似乎所有的错误都围绕着这个:
The UTC time represented when the offset is applied must be between year 0 and 10,000.
Parameter name: offset
有人可以帮忙吗?
编辑
mono version is:
$ mono --version
Mono JIT compiler version 4.4.0 (mono-4.4.0-branch-c7-baseline/5995f74 Thu Jun 2 15:13:10 EDT 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: normal
SIGSEGV: altstack
Notification: kqueue
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: yes(3.6.0svn-mono-master/a173357)
GC: sgen
这是一个影响 NuGet 3 的 bug in Mono。
有两种解决方法:
- 使用可从 NuGet.org 下载的 NuGet 2。它还附带 Mono 4.4 和更早版本。
- 更改您机器的时区,使其使用 GMT+0 或负时差。如果您的时区具有正偏移量,则会出现 Mono 错误。