Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

The "CleanWorkspace" task failed unexpectedly #9139


User avatar
0
-bitman created

Hello ANZ Team,

I upgraded to v8.9 of Angular+Core combo of my project and installed the Docker requirements as well as the minimum Windows OS version but after doing all of those I get this error when rebuilding my entire .NET Core solution. Please advise. Thank you.

Here is the entire error log...

Severity	Code	Description	Project	File	Line	Suppression State
Error	MSB4018	The "CleanWorkspace" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
File name: 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
   at Microsoft.Docker.BuildTasks.DockerBuildTask.OutputAndLogContainerToolsException(ContainerToolsException ex)
   at Microsoft.Docker.BuildTasks.DockerBuildTask.<ExecuteAsync>d__30.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.Docker.BuildTasks.DockerBuildTask.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
	docker-compose-mvc	C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Sdks\Microsoft.Docker.Sdk\build\Microsoft.VisualStudio.Docker.Compose.targets	450	


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    hi please follow this issue:https://github.com/aspnetzero/aspnet-zero-core/issues/3340

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @-bitman

    It is fixed now, you can check the commit of related issue.

  • User Avatar
    0
    -bitman created

    Thank you @ismcagdas