Partager via


AddPackageReference Class

Definition

Represents the operation to add a package reference to a project.

[System.Runtime.CompilerServices.Nullable(0)]
public class AddPackageReference : Microsoft.VisualStudio.ProjectSystem.Query.Framework.Actions.PackageReferenceActionBase
[<System.Runtime.CompilerServices.Nullable(0)>]
type AddPackageReference = class
    inherit PackageReferenceActionBase
Public Class AddPackageReference
Inherits PackageReferenceActionBase
Inheritance
Attributes

Constructors

AddPackageReference(String, String)

Initializes a new instance of the AddPackageReference class.

Properties

Action
PackageIdentity

Gets the name or the identity of the package reference to be added

(Inherited from PackageReferenceActionBase)
Version

Gets the version of the package reference to be added.

(Inherited from PackageReferenceActionBase)

Applies to