- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
使用 vsts 来构建应用程序。但恢复时不断出现错误。在本地机器上一切运行良好。 vsts 恢复时出错。
这是构建配置。
Global.Json 文件
{
"sdk": {
"version": "2.1.401"
}
}
一些引用
https://github.com/NuGet/Home/issues/5941 https://github.com/Microsoft/azure-pipelines-tasks/issues/2747
2018-12-10T01:28:18.4482197Z ##[section]Starting: Restore
2018-12-10T01:28:18.4488549Z ==============================================================================
2018-12-10T01:28:18.4488635Z Task : .NET Core
2018-12-10T01:28:18.4488675Z Description : Build, test, package, or publish a dotnet application, or run a custom dotnet command. For package commands, supports NuGet.org and authenticated feeds like Package Management and MyGet.
2018-12-10T01:28:18.4488739Z Version : 2.144.3
2018-12-10T01:28:18.4488777Z Author : Microsoft Corporation
2018-12-10T01:28:18.4488819Z Help : [More Information](https://go.microsoft.com/fwlink/?linkid=832194)
2018-12-10T01:28:18.4488876Z ==============================================================================
2018-12-10T01:28:19.2733888Z [command]C:\Windows\system32\chcp.com 65001
2018-12-10T01:28:19.3329111Z Active code page: 65001
2018-12-10T01:28:19.3370119Z SYSTEMVSSCONNECTION exists true
2018-12-10T01:28:19.6492379Z SYSTEMVSSCONNECTION exists true
2018-12-10T01:28:21.5520856Z SYSTEMVSSCONNECTION exists true
2018-12-10T01:28:21.6026525Z Saving NuGet.config to a temporary config file.
2018-12-10T01:28:21.6079287Z Saving NuGet.config to a temporary config file.
2018-12-10T01:28:21.6215729Z [command]"C:\Program Files\dotnet\dotnet.exe" restore D:\a\1\s\src\PlayTimeX.EntityFrameworkCore\PlayTimeX.EntityFrameworkCore.csproj --configfile D:\a\1\Nuget\tempNuGet_4943.config --verbosity Detailed
2018-12-10T01:28:23.2436898Z
2018-12-10T01:28:23.2463203Z Welcome to .NET Core!
2018-12-10T01:28:23.2463656Z ---------------------
2018-12-10T01:28:23.2463901Z Learn more about .NET Core: https://aka.ms/dotnet-docs
2018-12-10T01:28:23.2464089Z Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs
2018-12-10T01:28:23.2464228Z
2018-12-10T01:28:23.2464387Z Telemetry
2018-12-10T01:28:23.2464527Z ---------
2018-12-10T01:28:23.2464693Z The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous and doesn't include command-line arguments. The data is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
2018-12-10T01:28:23.2465258Z
2018-12-10T01:28:23.2465414Z Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
2018-12-10T01:28:23.2467775Z
2018-12-10T01:28:23.2468200Z Configuring...
2018-12-10T01:28:23.2468355Z --------------
2018-12-10T01:28:23.2468512Z A command is running to populate your local package cache to improve restore speed and enable offline access. This command takes up to one minute to complete and only runs once.
2018-12-10T01:30:44.0527286Z Decompressing .......... 140247 ms
2018-12-10T01:31:54.5844020Z Expanding .........System.AggregateException: One or more errors occurred. (One or more errors occurred. (The process cannot access the file 'C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.razor.design\2.1.1\tools\Microsoft.AspNetCore.Razor.Language.dll' because it is being used by another process.)) (The process cannot access the file 'C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.razor.design\2.1.1\tools\Microsoft.AspNetCore.Razor.Language.dll' because it is being used by another process.) ---> System.IO.IOException: The process cannot access the file 'C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.razor.design\2.1.1\tools\Microsoft.AspNetCore.Razor.Language.dll' because it is being used by another process.
2018-12-10T01:31:54.5845003Z at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
2018-12-10T01:31:54.5846397Z at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
2018-12-10T01:31:54.5846507Z at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
2018-12-10T01:31:54.5846616Z at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
2018-12-10T01:31:54.5847830Z at System.IO.File.Create(String path)
2018-12-10T01:31:54.5847905Z at Microsoft.DotNet.Archive.IndexedArchive.CopyOperation.Execute()
2018-12-10T01:31:54.5847954Z at Microsoft.DotNet.Archive.IndexedArchive.ExtractOperation.DoOperation()
2018-12-10T01:31:54.5848005Z at Microsoft.DotNet.Archive.IndexedArchive.<>c__DisplayClass19_1.<Extract>b__0(ExtractOperation extractOperation)
2018-12-10T01:31:54.5848080Z at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey)
2018-12-10T01:31:54.5848126Z at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork()
2018-12-10T01:31:54.5848172Z at System.Linq.Parallel.SpoolingTaskBase.Work()
2018-12-10T01:31:54.5848243Z at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
2018-12-10T01:31:54.5848289Z at System.Linq.Parallel.QueryTask.RunTaskSynchronously(Object o)
2018-12-10T01:31:54.5848361Z at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
2018-12-10T01:31:54.5848433Z --- End of stack trace from previous location where exception was thrown ---
2018-12-10T01:31:54.5848480Z at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
2018-12-10T01:31:54.5848525Z --- End of inner exception stack trace ---
2018-12-10T01:31:54.5849173Z at System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose)
2018-12-10T01:31:54.5849236Z at System.Linq.Parallel.SpoolingTask.SpoolForAll[TInputOutput,TIgnoreKey](QueryTaskGroupState groupState, PartitionedStream`2 partitions, TaskScheduler taskScheduler)
2018-12-10T01:31:54.5849312Z at System.Linq.Parallel.MergeExecutor`1.Execute()
2018-12-10T01:31:54.5849373Z at System.Linq.Parallel.MergeExecutor`1.Execute[TKey](PartitionedStream`2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId)
2018-12-10T01:31:54.5850294Z at System.Linq.Parallel.PartitionedStreamMerger`1.Receive[TKey](PartitionedStream`2 partitionedStream)
2018-12-10T01:31:54.5850360Z at System.Linq.Parallel.ForAllOperator`1.WrapPartitionedStream[TKey](PartitionedStream`2 inputStream, IPartitionedStreamRecipient`1 recipient, Boolean preferStriping, QuerySettings settings)
2018-12-10T01:31:54.5850415Z at System.Linq.Parallel.UnaryQueryOperator`2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream`2 inputStream)
2018-12-10T01:31:54.5850493Z at System.Linq.Parallel.ListQueryResults`1.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient)
2018-12-10T01:31:54.5850547Z at System.Linq.Parallel.UnaryQueryOperator`2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient)
2018-12-10T01:31:54.5850611Z at System.Linq.Parallel.QueryOperator`1.GetOpenedEnumerator(Nullable`1 mergeOptions, Boolean suppressOrder, Boolean forEffect, QuerySettings querySettings)
2018-12-10T01:31:54.5850708Z at System.Linq.Parallel.ForAllOperator`1.RunSynchronously()
2018-12-10T01:31:54.5850757Z at System.Linq.ParallelEnumerable.ForAll[TSource](ParallelQuery`1 source, Action`1 action)
2018-12-10T01:31:54.5850808Z at Microsoft.DotNet.Archive.IndexedArchive.Extract(String compressedArchivePath, String outputDirectory, IProgress`1 progress)
2018-12-10T01:31:54.5850883Z at Microsoft.DotNet.Configurer.NuGetPackagesArchiver.ExtractArchive(String archiveDestination)
2018-12-10T01:31:54.5850929Z at Microsoft.DotNet.Configurer.NuGetCachePrimer.PrimeCache()
2018-12-10T01:31:54.5850975Z at Microsoft.DotNet.Configurer.DotnetFirstTimeUseConfigurer.Configure()
2018-12-10T01:31:54.5851067Z at Microsoft.DotNet.Cli.Program.ConfigureDotNetForFirstTimeUse(INuGetCacheSentinel nugetCacheSentinel, IFirstTimeUseNoticeSentinel firstTimeUseNoticeSentinel, IAspNetCertificateSentinel aspNetCertificateSentinel, IFileSentinel toolPathSentinel, Boolean hasSuperUserAccess, DotnetFirstRunConfiguration dotnetFirstRunConfiguration, IEnvironmentProvider environmentProvider)
2018-12-10T01:31:54.5851452Z at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, ITelemetry telemetryClient)
2018-12-10T01:31:54.5851529Z at Microsoft.DotNet.Cli.Program.Main(String[] args)
2018-12-10T01:31:54.5851594Z ---> (Inner Exception #0) System.IO.IOException: The process cannot access the file 'C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.razor.design\2.1.1\tools\Microsoft.AspNetCore.Razor.Language.dll' because it is being used by another process.
2018-12-10T01:31:54.5851672Z at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
2018-12-10T01:31:54.5851723Z at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
2018-12-10T01:31:54.5851774Z at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
2018-12-10T01:31:54.5851865Z at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
2018-12-10T01:31:54.5851910Z at System.IO.File.Create(String path)
2018-12-10T01:31:54.5851980Z at Microsoft.DotNet.Archive.IndexedArchive.CopyOperation.Execute()
2018-12-10T01:31:54.5852027Z at Microsoft.DotNet.Archive.IndexedArchive.ExtractOperation.DoOperation()
2018-12-10T01:31:54.5852076Z at Microsoft.DotNet.Archive.IndexedArchive.<>c__DisplayClass19_1.<Extract>b__0(ExtractOperation extractOperation)
2018-12-10T01:31:54.5852153Z at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey)
2018-12-10T01:31:54.5852200Z at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork()
2018-12-10T01:31:54.5852245Z at System.Linq.Parallel.SpoolingTaskBase.Work()
2018-12-10T01:31:54.5852317Z at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
2018-12-10T01:31:54.5852449Z at System.Linq.Parallel.QueryTask.RunTaskSynchronously(Object o)
2018-12-10T01:31:54.5852500Z at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
2018-12-10T01:31:54.5852666Z --- End of stack trace from previous location where exception was thrown ---
2018-12-10T01:31:54.5852716Z at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)<---
2018-12-10T01:31:54.5852747Z
2018-12-10T01:31:54.6054617Z ##[error]Error: C:\Program Files\dotnet\dotnet.exe failed with return code: 1
2018-12-10T01:31:54.6070722Z ##[error]Packages failed to restore
2018-12-10T01:31:54.6122378Z ##[section]Finishing: Restore
最佳答案
关于c# - 错误 : C:\Program Files\dotnet\dotnet. exe 失败,返回代码:1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53698604/
我已经使用 vue-cli 两个星期了,直到今天一切正常。我在本地建立这个项目。 https://drive.google.com/open?id=0BwGw1zyyKjW7S3RYWXRaX24tQ
您好,我正在尝试使用 python 库 pytesseract 从图像中提取文本。请找到代码: from PIL import Image from pytesseract import image_
我的错误 /usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference
我已经训练了一个模型,我正在尝试使用 predict函数但它返回以下错误。 Error in contrasts<-(*tmp*, value = contr.funs[1 + isOF[nn]])
根据Microsoft DataConnectors的信息我想通过 this ODBC driver 创建一个从 PowerBi 到 PostgreSQL 的连接器使用直接查询。我重用了 Micros
我已经为 SoundManagement 创建了一个包,其中有一个扩展 MediaPlayer 的类。我希望全局控制这个变量。这是我的代码: package soundmanagement; impo
我在Heroku上部署了一个应用程序。我正在使用免费服务。 我经常收到以下错误消息。 PG::Error: ERROR: out of memory 如果刷新浏览器,就可以了。但是随后,它又随机发生
我正在运行 LAMP 服务器,这个 .htaccess 给我一个 500 错误。其作用是过滤关键字并重定向到相应的域名。 Options +FollowSymLinks RewriteEngine
我有两个驱动器 A 和 B。使用 python 脚本,我在“A”驱动器中创建一些文件,并运行 powerscript,该脚本以 1 秒的间隔将驱动器 A 中的所有文件复制到驱动器 B。 我在 powe
下面的函数一直返回这个错误信息。我认为可能是 double_precision 字段类型导致了这种情况,我尝试使用 CAST,但要么不是这样,要么我没有做对...帮助? 这是错误: ERROR: i
这个问题已经有答案了: Syntax error due to using a reserved word as a table or column name in MySQL (1 个回答) 已关闭
我的数据库有这个小问题。 我创建了一个表“articoli”,其中包含商品的品牌、型号和价格。 每篇文章都由一个 id (ID_ARTICOLO)` 定义,它是一个自动递增字段。 好吧,现在当我尝试插
我是新来的。我目前正在 DeVry 在线学习中级 C++ 编程。我们正在使用 C++ Primer Plus 这本书,到目前为止我一直做得很好。我的老师最近向我们扔了一个曲线球。我目前的任务是这样的:
这个问题在这里已经有了答案: What is an undefined reference/unresolved external symbol error and how do I fix it?
我的网站中有一段代码有问题;此错误仅发生在 Internet Explorer 7 中。 我没有在这里发布我所有的 HTML/CSS 标记,而是发布了网站的一个版本 here . 如您所见,我在列中有
如果尝试在 USB 设备上构建 node.js 应用程序时在我的树莓派上使用 npm 时遇到一些问题。 package.json 看起来像这样: { "name" : "node-todo",
在 Python 中,您有 None单例,在某些情况下表现得很奇怪: >>> a = None >>> type(a) >>> isinstance(a,None) Traceback (most
这是我的 build.gradle (Module:app) 文件: apply plugin: 'com.android.application' android { compileSdkV
我是 android 的新手,我的项目刚才编译和运行正常,但在我尝试实现抽屉导航后,它给了我这个错误 FAILURE: Build failed with an exception. What wen
谁能解释一下?我想我正在做一些非常愚蠢的事情,并且急切地等待着启蒙。 我得到这个输出: phpversion() == 7.2.25-1+0~20191128.32+debian8~1.gbp108
我是一名优秀的程序员,十分优秀!