Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotnet-svcutil: write generated json file with relative path for referenced assembly. #5500

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

update.

3f52c4d
Select commit
Loading
Failed to load commit list.
Open

dotnet-svcutil: write generated json file with relative path for referenced assembly. #5500

update.
3f52c4d
Select commit
Loading
Failed to load commit list.
Azure Pipelines / dotnet-wcf-with-corewcf--ci (Build Linux Debug) failed Oct 24, 2024 in 2m 15s

Build Linux Debug failed

Annotations

Check failure on line 1234 in .dotnet/sdk/9.0.100-rc.1.24452.12/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-wcf-with-corewcf--ci (Build Linux Debug)

.dotnet/sdk/9.0.100-rc.1.24452.12/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets#L1234

.dotnet/sdk/9.0.100-rc.1.24452.12/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(1234,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.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(TaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask)