using Microsoft.Build.Utilities; TaskItem item = new TaskItem("OutputFile.exe"); string metadataValue = item.GetMetadata("FullPath"); Console.WriteLine($"Metadata value for FullPath is: {metadataValue}");In this example, we create a TaskItem object representing a file named "OutputFile.exe". We then call the GetMetadata method with the "FullPath" metadata key to retrieve the full file path for this item. Finally, we print the value of this metadata to the console. This method is part of the Microsoft.Build.Utilities v4.3.1 package library, which contains a variety of utility classes and methods for use in build tasks with the MSBuild engine.