Aracılığıyla paylaş


WriteCodeFragment.OutputFile Property

Definition

The path to the file that was generated. If this is set, and a file name, the destination folder will be prepended. If this is set, and is rooted, the destination folder will be ignored. If this is not set, the destination folder will be used, an arbitrary file name will be used, and the default extension for the language selected.

public:
 property Microsoft::Build::Framework::ITaskItem ^ OutputFile { Microsoft::Build::Framework::ITaskItem ^ get(); void set(Microsoft::Build::Framework::ITaskItem ^ value); };
[Microsoft.Build.Framework.Output]
public Microsoft.Build.Framework.ITaskItem OutputFile { get; set; }
[Microsoft.Build.Framework.Output]
public Microsoft.Build.Framework.ITaskItem OutputFile { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
[<Microsoft.Build.Framework.Output>]
member this.OutputFile : Microsoft.Build.Framework.ITaskItem with get, set
[<Microsoft.Build.Framework.Output>]
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.OutputFile : Microsoft.Build.Framework.ITaskItem with get, set
Public Property OutputFile As ITaskItem

Property Value

The path to the file that was generated.

Attributes

Remarks

If setting this property with a file name, the destination folder will be prepended.

If setting this property with a rooted value, the destination folder will be ignored.

If this property is not set, WriteCodeFragment uses the destination folder, an arbitrary file name, and the default extension for the language selected.

Applies to