Partager via


Product Class

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

Represents a product that the BootstrapperBuilder finds in the Path property.

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.

Inheritance Hierarchy

System.Object
  Microsoft.Build.Tasks.Deployment.Bootstrapper.Product

Namespace:  Microsoft.Build.Tasks.Deployment.Bootstrapper
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
<ComVisibleAttribute(True)> _
<GuidAttribute("532BF563-A85D-4088-8048-41F51AC5239F")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class Product _
    Implements IProduct
[ComVisibleAttribute(true)]
[GuidAttribute("532BF563-A85D-4088-8048-41F51AC5239F")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class Product : IProduct
[ComVisibleAttribute(true)]
[GuidAttribute(L"532BF563-A85D-4088-8048-41F51AC5239F")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
public ref class Product : IProduct
[<ComVisibleAttribute(true)>]
[<GuidAttribute("532BF563-A85D-4088-8048-41F51AC5239F")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
type Product =  
    class 
        interface IProduct 
    end
public class Product implements IProduct

The Product type exposes the following members.

Constructors

  Name Description
Public method Product Infrastructure. Initializes a new instance of the Product class.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.

Top

Properties

  Name Description
Public property Includes Infrastructure. Gets all products that this product installs.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.
Public property Name Infrastructure. Gets a human-readable name for this product.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.
Public property ProductBuilder Infrastructure. Gets a buildable version of the product.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.
Public property ProductCode Infrastructure. Gets a string that indicates the unique product identifier of this product.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.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Build.Tasks.Deployment.Bootstrapper Namespace