Fixed "Value cannot be null. (Parameter 'args')" #5453
Azure Pipelines / dotnet-wcf-ci (Build Linux Debug)
failed
Mar 19, 2024 in 2m 31s
Build Linux Debug failed
Annotations
azure-pipelines / dotnet-wcf-ci (Build Linux Debug)
.dotnet/sdk/9.0.100-preview.1.24101.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets#L1127
.dotnet/sdk/9.0.100-preview.1.24101.2/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(1127,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Build) The "GetAssemblyAttributes" task failed unexpectedly.
System.IO.IOException: The process cannot access the file '/__w/1/s/artifacts/obj/System.ServiceModel.Primitives/Debug/net8.0/System.ServiceModel.Primitives.dll' because it is being used by another process.
at Microsoft.Win32.SafeHandles.SafeFileHandle.Init(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Int64& fileLength, UnixFileMode& filePermissions)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Microsoft.NET.Build.Tasks.FileUtilities.<GetAssemblyVersion>g__GetAssemblyVersionFromFile|4_0(String sourcePath)
at Microsoft.NET.Build.Tasks.FileUtilities.GetAssemblyVersion(String sourcePath)
at Microsoft.NET.Build.Tasks.GetAssemblyAttributes.ExecuteCore()
at Microsoft.NET.Build.Tasks.TaskBase.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask)
Loading