Partilhar via


GenerateResource.OutputResources Property

Definition

The name(s) of the resource file to create. If the user does not specify this attribute, the task will append a .resources extension to each input filename argument and write the file to the directory that contains the input file. Includes any output files that were already up to date, but not any output files that failed to be written due to an error.

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

public:
 property cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ OutputResources { cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ get(); void set(cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ value); };
[Microsoft.Build.Framework.Output]
public Microsoft.Build.Framework.ITaskItem[] OutputResources { get; set; }
[Microsoft.Build.Framework.Output]
public Microsoft.Build.Framework.ITaskItem[] OutputResources { [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.OutputResources : 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.OutputResources : Microsoft.Build.Framework.ITaskItem[] with get, set
Public Property OutputResources As ITaskItem()

Property Value

The name of the generated files, such as .resources files.

Attributes

Remarks

If you do not specify a name, the name of the matching input file is used and the .resources file that is created is placed in the directory that contains the input file.

Applies to