Skip to content

CombineTargetFrameworkInfoProperties fails with ArgumentNullException #8320

@marek-safar

Description

@marek-safar

Extracted from https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_apis/build/builds/141116/logs/19

2023-01-18T13:41:58.9010353Z Msbuild failed when processing the file '/home/vsts/work/1/s/src/linker/Mono.Linker.csproj' with message: /home/vsts/work/1/s/.dotnet/sdk/8.0.100-alpha.1.23061.8/Microsoft.Common.CurrentVersion.targets: (1951, 5): The "CombineTargetFrameworkInfoProperties" task failed unexpectedly.
2023-01-18T13:41:58.9011595Z System.ArgumentNullException: Value cannot be null. (Parameter 'value')
2023-01-18T13:41:58.9012203Z    at System.ArgumentNullException.Throw(String paramName)
2023-01-18T13:41:58.9012847Z    at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
2023-01-18T13:41:58.9013426Z    at System.Xml.Linq.XAttribute..ctor(XName name, Object value)
2023-01-18T13:41:58.9013984Z    at Microsoft.Build.Tasks.CombineTargetFrameworkInfoProperties.Execute()
2023-01-18T13:41:58.9017422Z    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
2023-01-18T13:41:58.9018081Z    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask)

Metadata

Metadata

Assignees

Labels

Area: DebuggabilityIssues impacting the diagnosability of builds, including logging and clearer error messages.Area: TasksIssues impacting the tasks shipped in Microsoft.Build.Tasks.Core.dll.Partner requestneeds-triageHave yet to determine what bucket this goes in.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions