C# 클래스 NuBuild.MSBuild.NuPrepare

Prepare task
This task configures the NuBuild Compile items for packaging, by attaching custom metadata and determining the build sources/ targets for incremental builds. The task also establishes the build/version number for the current run.
상속: Microsoft.Build.Utilities.Task
파일 보기 프로젝트 열기: bspell1/NuBuild

Private Properties

프로퍼티 타입 설명
GetAutoVersion SemanticVersion
GetLibraryVersion SemanticVersion
GetPackageID String
GetPackageVersion SemanticVersion
PreparePackage void

공개 메소드들

메소드 설명
Execute ( ) : System.Boolean

Task execution override

비공개 메소드들

메소드 설명
GetAutoVersion ( ITaskItem specItem, SemanticVersion specVer, System.Xml.Linq.XDocument specDoc ) : SemanticVersion

Constructs the nuget package version using either the build number specified in the project file (for TFS builds) or using a text file in the output directory

GetLibraryVersion ( ITaskItem specItem, SemanticVersion specVer, System.Xml.Linq.XDocument specDoc ) : SemanticVersion

Constructs a nuget package version from a library referenced by the package

GetPackageID ( System.Xml.Linq.XDocument specDoc ) : String

Retrieves the package's ID

GetPackageVersion ( ITaskItem specItem, System.Xml.Linq.XDocument specDoc ) : SemanticVersion

Constructs a nuget package version for the current project

PreparePackage ( ITaskItem specItem ) : void

Prepares a single .nuspec file for packaging

메소드 상세

Execute() 공개 메소드

Task execution override
public Execute ( ) : System.Boolean
리턴 System.Boolean