共用方式為


RequiresFramework35SP1Assembly.Files Property

Gets or sets the list of all of the files that will be deployed when you publish your application.

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

Property Value

Type: array<Microsoft.Build.Framework.ITaskItem[]
The files that will be deployed.

.NET Framework Security

See Also

Reference

RequiresFramework35SP1Assembly Class

Microsoft.Build.Tasks Namespace