AssignLinkMetadata.Execute Method
Sets Link metadata on any item where the project file in which they were defined is different from the parent project file to a sane default: the relative directory compared to the defining file. Does not overwrite Link metadata if it's already defined.
Namespace: Microsoft.Build.Tasks
Assembly: Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)
Syntax
'Declaration
Public Overrides Function Execute As Boolean
public override bool Execute()
public:
virtual bool Execute() override
abstract Execute : unit -> bool
override Execute : unit -> bool
public override function Execute() : boolean
Return Value
Type: System.Boolean
Returns true if no errors were logged, otherwise false.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.