C# Class OctoPack.Tasks.CreateOctoPackPackage

An MSBuild task that creates an Octopus Deploy package containing only the appropriate files - for example, an ASP.NET website will contain only the content files, assets, binaries and configuration files. C# files won't be included. Other project types (console applications, Windows Services, etc.) will only contain the binaries.
Inheritance: OctoPack.Tasks.AbstractTask
Afficher le fichier Open project: OctopusDeploy/OctoPack

Private Properties

Свойство Type Description
AddFiles void
AddReleaseNotes void
Copy void
CopyBuiltPackages void
CreateEmptyOutputDirectory string
CreateTaskItemFromPackage Microsoft.Build.Utilities.TaskItem
FindNuGet void
GetOrCreateNuSpecFile string
GetPackageIdElementFromNuSpec System.Xml.Linq.XElement
GetVersionElementFromNuSpec System.Xml.Linq.XElement
HasLinkedWebConfigFile bool
IsWebApplication bool
LogDiagnostics void
OpenNuSpecFile System.Xml.Linq.XDocument
RemoveTrailing string
RunNuGet void
SaveNuSpecFile void
SpecAlreadyHasFiles bool
UpdatePackageIdWithAppendValue void
UpdateVersionWithAppendValue void

Méthodes publiques

Méthode Description
CreateOctoPackPackage ( ) : System
CreateOctoPackPackage ( IOctopusFileSystem fileSystem ) : System
Execute ( ) : bool

Private Methods

Méthode Description
AddFiles ( System.Xml.Linq.XContainer nuSpec, IEnumerable sourceFiles, string sourceBaseDirectory, string targetDirectory = "", string relativeTo = "" ) : void
AddReleaseNotes ( System.Xml.Linq.XContainer nuSpec ) : void
Copy ( IEnumerable sourceFiles, string baseDirectory, string destinationDirectory ) : void
CopyBuiltPackages ( string packageOutput ) : void
CreateEmptyOutputDirectory ( string name ) : string
CreateTaskItemFromPackage ( string packageFile ) : Microsoft.Build.Utilities.TaskItem
FindNuGet ( ) : void
GetOrCreateNuSpecFile ( string octopacking ) : string
GetPackageIdElementFromNuSpec ( System.Xml.Linq.XContainer nuSpec ) : System.Xml.Linq.XElement
GetVersionElementFromNuSpec ( System.Xml.Linq.XContainer nuSpec ) : System.Xml.Linq.XElement
HasLinkedWebConfigFile ( ) : bool
IsWebApplication ( ) : bool
LogDiagnostics ( ) : void
OpenNuSpecFile ( string specFilePath ) : System.Xml.Linq.XDocument
RemoveTrailing ( string specFileName ) : string
RunNuGet ( string specFilePath, string octopacking, string octopacked, string projectDirectory ) : void
SaveNuSpecFile ( string specFilePath, System.Xml.Linq.XDocument document ) : void
SpecAlreadyHasFiles ( System.Xml.Linq.XDocument nuSpec ) : bool
UpdatePackageIdWithAppendValue ( System.Xml.Linq.XContainer nuSpec ) : void
UpdateVersionWithAppendValue ( System.Xml.Linq.XContainer nuSpec ) : void

Method Details

CreateOctoPackPackage() public méthode

public CreateOctoPackPackage ( ) : System
Résultat System

CreateOctoPackPackage() public méthode

public CreateOctoPackPackage ( IOctopusFileSystem fileSystem ) : System
fileSystem IOctopusFileSystem
Résultat System

Execute() public méthode

public Execute ( ) : bool
Résultat bool