在Visual Studio 2019 for Mac版本8.2之后无法构建

时间:2019-07-26 02:32:56

标签: xamarin visual-studio-2019

将Visual Studio更新到8.2之后。我现在无法为我的xamarin项目构建任何东西。如下所示是错误。

/usr/local/share/dotnet/sdk/2.1.701/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(5,5):

错误MSB4018:“ ResolvePackageAssets”任务意外失败。

System.ArgumentOutOfRangeException:偏移量必须在正负14小时之内。 参数名称:偏移   在/ Users / builder / jenkins / workspace / build-package-osx-mono / 2019-02 / external / bockbuild / builds / mono-x64 / external / corefx中的System.DateTimeOffset.ValidateOffset(System.TimeSpan偏移)[0x0004a] /src/Common/src/CoreLib/System/DateTimeOffset.cs:908   在/ Users / builder / jenkins / workspace / build-package-osx-mono / 2019-02 / external / bockbuild / builds / mono-x64 / external /中的System.DateTimeOffset..ctor(System.DateTime dateTime)[0x0001d] corefx / src / Common / src / CoreLib / System / DateTimeOffset.cs:82   在/ Users / builder / jenkins / workspace / build-package-osx-mono / 2019-02 / external / bockbuild / builds / mono-x64 / external / corefx中的System.DateTimeOffset.FromFileTime(System.Int64 fileTime)[0x00000] /src/Common/src/CoreLib/System/DateTimeOffset.cs:522   在/ Users / builder / jenkins / workspace / build-package-osx-mono / 2019-02 / external中的System.IO.FileStatus.GetLastWriteTime(System.ReadOnlySpan`1 [T]路径,System.BooleancontinueOnError)[0x00010] /bockbuild/builds/mono-x64/external/corefx/src/System.IO.FileSystem/src/System/IO/FileStatus.Unix.cs:187   在/ Users / builder / jenkins / workspace / build-package-osx-mono / 2019-02 / external / bockbuild / builds / mono-x64 / external / corefx / src中的System.IO.FileSystemInfo.get_LastWriteTimeCore()[0x00000] /System.IO.FileSystem/src/System/IO/FileSystemInfo.Unix.cs:60   在/ Users / builder / jenkins / workspace / build-package-osx-mono / 2019-02 / external / bockbuild / builds / mono-x64 / external / corefx / src中的System.IO.FileSystemInfo.get_LastWriteTimeUtc()[0x00000] /System.IO.FileSystem/src/System/IO/FileSystemInfo.cs:115   在/ Users / builder / jenkins / workspace / build-package-osx-mono / 2019-02 / external / bockbuild / builds / mono-x64 / external / corefx / src中的System.IO.FileSystemInfo.get_LastWriteTime()[0x00000] /System.IO.FileSystem/src/System/IO/FileSystemInfo.cs:109   在/ Users / builder / jenkins / workspace / build-package-osx-mono / 2019-02 / external / bockbuild / builds / mono-x64 / external中的System.IO.FileSystem.GetLastWriteTime(System.String fullPath)[0x00000] /corefx/src/System.IO.FileSystem/src/System/IO/FileSystem.Unix.cs:513   在/ Users / builder / jenkins / workspace / build-package-osx-mono / 2019-02 / external / bockbuild / builds / mono-x64 / external中的System.IO.File.GetLastWriteTimeUtc(System.String路径)[0x00006] /corefx/src/System.IO.FileSystem/src/System/IO/File.cs:239   在Microsoft.NET.Build.Tasks.ResolvePackageAssets + CacheReader.CreateReaderFromDisk(Microsoft.NET.Build.Tasks.ResolvePackageAssets任务,System.Byte [] settingsHash)[0x00008]在:0中   在Microsoft.NET.Build.Tasks.ResolvePackageAssets + CacheReader..ctor中(Microsoft.NET.Build.Tasks.ResolvePackageAssets任务)[0x00015]在:0中   在Microsoft.NET.Build.Tasks.ResolvePackageAssets.ReadItemGroups()中:0中的[0x00000]   在Microsoft.NET.Build.Tasks.ResolvePackageAssets.ExecuteCore()[0x00018]中:: 0   在Microsoft.NET.Build.Tasks.TaskBase.Execute()[0x00000]中:: 0   在/ Users / builder / jenkins / workspace / build-package-osx-mono / 2019-02 / external / bockbuild / builds中的Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()[0x00023] /msbuild-15/src/Build/BackEnd/TaskExecutionHost/TaskExecutionHost.cs:573   在Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(Microsoft.Build.BackEnd.ITaskExecutionHost taskExecutionHost,Microsoft.Build.BackEnd.Logging.TaskLoggingContext taskLoggingContext,Microsoft.Build.BackEnd.TaskHost taskHost,Microsoft.Build.BackEnd.ItemBucket存储桶,Microsoft / Users / builder / jenkins / workspace / build-package-osx-mono / 2019-02 / external / bockbuild / builds / msbuild-15 / src / Build / BackEnd / Components中的.Build.BackEnd.TaskExecutionMode howToExecuteTask)[0x002a9] /RequestBuilder/TaskBuilder.cs:810(MSB4018)(b)

0 个答案:

没有答案