共用方式為


GenerateResource.AdditionalInputs Property

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

Gets or sets the additional inputs for the dependency checking that the GenerateResource task performs.

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
Public Property AdditionalInputs As ITaskItem()
public ITaskItem[] AdditionalInputs { get; set; }
public:
property array<ITaskItem^>^ AdditionalInputs {
    array<ITaskItem^>^ get ();
    void set (array<ITaskItem^>^ value);
}
member AdditionalInputs : ITaskItem[] with get, set
function get AdditionalInputs () : ITaskItem[]
function set AdditionalInputs (value : ITaskItem[])

Property Value

Type: array<Microsoft.Build.Framework.ITaskItem[]
The additional inputs for the dependency checking that the GenerateResource task performs.

Remarks

For example, the project and targets files should be inputs to ensure that if they are updated all resources are regenerated.

.NET Framework Security

See Also

Reference

GenerateResource Class

Microsoft.Build.Tasks Namespace