Compartilhar via


ResolveAssemblyReference.RelatedFiles Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets related files, such as .xml and .pdb files with the same base name as a reference.

MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
<OutputAttribute> _
Public ReadOnly Property RelatedFiles As ITaskItem()
[OutputAttribute]
public ITaskItem[] RelatedFiles { get; }
[OutputAttribute]
public:
property array<ITaskItem^>^ RelatedFiles {
    array<ITaskItem^>^ get ();
}
[<OutputAttribute>]
member RelatedFiles : ITaskItem[] with get
function get RelatedFiles () : ITaskItem[]

Property Value

Type: array<Microsoft.Build.Framework.ITaskItem[]
The related files.

.NET Framework Security

See Also

Reference

ResolveAssemblyReference Class

Microsoft.Build.Tasks Namespace