应用偏移时表示的UTC时间必须介于0到10,000之间

时间:2016-06-25 10:37:00

标签: xamarin mono nuget xamarin-studio nuget-package-restore

在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

1 个答案:

答案 0 :(得分:3)

这是影响NuGet 3的bug in Mono

有两种解决方法:

  1. 使用可从NuGet.org下载的NuGet 2。它还附带Mono 4.4及更早版本。
  2. 更改机器的时区,使其使用GMT + 0或负偏移量。如果时区有正偏移,则会发生Mono错误。