Bagikan melalui


GenerateApplicationManifest.Product Property

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

Specifies the ProductName property in the project file.

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

Property Value

Type: System.String
A string value that corresponds to the ProductName property in the project file.

Remarks

This property corresponds to the ProductName property in the project file. The default value is nulla null reference (Nothing in Visual Basic). If ProductName is null and UseApplicationTrust is true, the RegisteredOrganization value in the registry is written to the application manifest. If RegisteredOrganization is also null, the assembly name is used.

.NET Framework Security

See Also

Reference

GenerateApplicationManifest Class

Microsoft.Build.Tasks Namespace