Bug 42982 - The "UnpackLibraryResources" task failed unexpectedly returned
Summary: The "UnpackLibraryResources" task failed unexpectedly returned
Status: RESOLVED DUPLICATE of bug 43278
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 4.1.0 (C7)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-08-02 09:18 UTC by softlion
Modified: 2016-08-19 14:16 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 43278

Description softlion 2016-08-02 09:18:34 UTC
Hi,
this error appears intermittently while building an ios app in visual studio.
Don't know why it happens, but when it happens you have to build again and run and it works.


1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): warning : An error occured on client build10896benja while executing a post for topic xvs/Build/4.1.2.18/compare-items
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): warning : Le délai d'attente de l'opération a expiré.
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): warning :    à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): warning :    à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): warning :    à System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): warning :    à Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__23`2.MoveNext() dans C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\Messaging\Xamarin.Messaging.Client\MessagingClient.cs:ligne 165
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018: The "UnpackLibraryResources" task failed unexpectedly.
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018: System.AggregateException: One or more errors occurred. ---> Xamarin.Messaging.Exceptions.MessagingException: An error occured on client build10896benja while executing a post for topic xvs/Build/4.1.2.18/compare-items ---> System.TimeoutException: Le délai d'attente de l'opération a expiré.
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__23`2.MoveNext() in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\Messaging\Xamarin.Messaging.Client\MessagingClient.cs:line 165
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    --- End of inner exception stack trace ---
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__23`2.MoveNext() in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\Messaging\Xamarin.Messaging.Client\MessagingClient.cs:line 211
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018: --- End of stack trace from previous location where exception was thrown ---
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__22`2.MoveNext() in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\Messaging\Xamarin.Messaging.Client\MessagingClient.cs:line 0
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018: --- End of stack trace from previous location where exception was thrown ---
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__26`2.MoveNext() in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\Messaging\Xamarin.Messaging.Client\MessagingClient.cs:line 0
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018: --- End of stack trace from previous location where exception was thrown ---
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.Messaging.Client.IMessagingClientExtensions.Execute[T](Func`1 postFunction) in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\Messaging\Xamarin.Messaging.Client\Extensions\IMessagingClientExtensions.cs:line 218
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.Messaging.Client.IMessagingClientExtensions.Post[TRequest,TResponse](IMessagingClient client, TRequest message, Boolean retain, Int32 timeoutSecs) in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\Messaging\Xamarin.Messaging.Client\Extensions\IMessagingClientExtensions.cs:line 170
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.VisualStudio.Build.BuildClient.CompareItems(IEnumerable`1 items, Func`2 getSourcePath, Func`2 getTargetPath) in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\MSBuild\Xamarin.VisualStudio.Build\BuildClient.cs:line 97
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.VisualStudio.Build.TaskRunner.FilterFilesThatShouldBeCopied(IList`1 items, Func`2 getSourcePath, Func`2 getTargetPath) in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\MSBuild\Xamarin.VisualStudio.Build\TaskRunner.cs:line 279
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.VisualStudio.Build.TaskRunner.<CopyRequiredInputFilesAsync>d__12.MoveNext() in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\MSBuild\Xamarin.VisualStudio.Build\TaskRunner.cs:line 211
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    --- End of inner exception stack trace ---
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.VisualStudio.Build.TaskRunner.Run(Task task) in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\MSBuild\Xamarin.VisualStudio.Build\TaskRunner.cs:line 62
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.MacDev.Tasks.UnpackLibraryResources.Execute() in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\MSBuild\Xamarin.MacDev.Tasks\Tasks\UnpackLibraryResources.cs:line 14
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018: ---> (Inner Exception #0) Xamarin.Messaging.Exceptions.MessagingException: An error occured on client build10896benja while executing a post for topic xvs/Build/4.1.2.18/compare-items ---> System.TimeoutException: Le délai d'attente de l'opération a expiré.
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__23`2.MoveNext() in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\Messaging\Xamarin.Messaging.Client\MessagingClient.cs:line 165
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    --- End of inner exception stack trace ---
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__23`2.MoveNext() in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\Messaging\Xamarin.Messaging.Client\MessagingClient.cs:line 211
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018: --- End of stack trace from previous location where exception was thrown ---
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__22`2.MoveNext() in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\Messaging\Xamarin.Messaging.Client\MessagingClient.cs:line 0
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018: --- End of stack trace from previous location where exception was thrown ---
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__26`2.MoveNext() in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\Messaging\Xamarin.Messaging.Client\MessagingClient.cs:line 0
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018: --- End of stack trace from previous location where exception was thrown ---
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.Messaging.Client.IMessagingClientExtensions.Execute[T](Func`1 postFunction) in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\Messaging\Xamarin.Messaging.Client\Extensions\IMessagingClientExtensions.cs:line 218
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.Messaging.Client.IMessagingClientExtensions.Post[TRequest,TResponse](IMessagingClient client, TRequest message, Boolean retain, Int32 timeoutSecs) in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\Messaging\Xamarin.Messaging.Client\Extensions\IMessagingClientExtensions.cs:line 170
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.VisualStudio.Build.BuildClient.CompareItems(IEnumerable`1 items, Func`2 getSourcePath, Func`2 getTargetPath) in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\MSBuild\Xamarin.VisualStudio.Build\BuildClient.cs:line 97
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.VisualStudio.Build.TaskRunner.FilterFilesThatShouldBeCopied(IList`1 items, Func`2 getSourcePath, Func`2 getTargetPath) in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\MSBuild\Xamarin.VisualStudio.Build\TaskRunner.cs:line 279
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:    at Xamarin.VisualStudio.Build.TaskRunner.<CopyRequiredInputFilesAsync>d__12.MoveNext() in C:\Users\builder\data\lanes\3544\fcbe0828\source\xamarinvs\src\MSBuild\Xamarin.VisualStudio.Build\TaskRunner.cs:line 211<---
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(513,3): error MSB4018:
Comment 1 Adrian Alonso 2016-08-19 14:16:53 UTC
Seems to be the same happening on 43278. Moving the discussion to that bug.

*** This bug has been marked as a duplicate of bug 43278 ***