Partager via


RequiresFramework35SP1Assembly.EntryPoint Property

Gets or sets the assembly that should be executed when the application is run.

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

Property Value

Type: Microsoft.Build.Framework.ITaskItem
The assembly that should be executed.

Remarks

The name will be <ApplicationName>.exe.

.NET Framework Security

See Also

Reference

RequiresFramework35SP1Assembly Class

Microsoft.Build.Tasks Namespace