简体   繁体   English

“复制”任务意外失败

[英]The “Copy” task failed unexpectedly

I'm using windows 10. 我正在使用Windows 10。

After updated VS 2017 to 15.8.1 i started getting error below: 在将VS 2017更新为15.8.1之后,我开始出现以下错误:

The "Copy" task failed unexpectedly.
System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
   at Microsoft.Win32.Win32Native.CopyFile(String src, String dst, Boolean failIfExists)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
   at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
   at Microsoft.Build.Tasks.Copy.CopyFileWithLogging(FileState sourceFileState, FileState destinationFileState)
   at Microsoft.Build.Tasks.Copy.DoCopyWithRetries(FileState sourceFileState, FileState destinationFileState, CopyFileWithState copyFile)
   at Microsoft.Build.Tasks.Copy.DoCopyIfNecessary(FileState sourceFileState, FileState destinationFileState, CopyFileWithState copyFile)
   at Microsoft.Build.Tasks.Copy.<>c__DisplayClass59_0.<<CopyParallel>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Build.Tasks.Copy.CopyParallel(CopyFileWithState copyFile, Int32 parallelism, List`1& destinationFilesSuccessfullyCopied)
   at Microsoft.Build.Tasks.Copy.Execute(CopyFileWithState copyFile, Int32 parallelism)
   at Microsoft.Build.Tasks.Copy.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()

I've tryed to move project to another physical drive, but it wasn't helpful. 我试图将项目移动到另一个物理驱动器,但这没有帮助。

The projects may vary and error is not repeating every build. 项目可能会有所不同,并且错误不会重复每个构建。 What may cause this error? 是什么导致此错误?

它是InfoWatch ,企业信息安全系统,反恶意软件之类的产品。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM