Method | Description | |
---|---|---|
AddPackage ( NugetPackageIdentifier package ) : void |
Adds a package to the packages.config file.
|
|
Load ( string filepath ) : |
Loads a list of all currently installed packages by reading the packages.config file.
|
|
RemovePackage ( NugetPackageIdentifier package ) : void |
Removes a package from the packages.config file.
|
|
Save ( string filepath ) : void |
Saves the packages.config file and populates it with given installed NugetPackages.
|
public AddPackage ( NugetPackageIdentifier package ) : void | ||
package | NugetPackageIdentifier | The NugetPackage to add to the packages.config file. |
return | void |
public static Load ( string filepath ) : |
||
filepath | string | |
return |
public RemovePackage ( NugetPackageIdentifier package ) : void | ||
package | NugetPackageIdentifier | The NugetPackage to remove from the packages.config file. |
return | void |
public Save ( string filepath ) : void | ||
filepath | string | The filepath to where this packages.config will be saved. |
return | void |