Skip to content

HarvestProjectOutput element (Buildtools extension)

Harvest files from a project’s output groups.

Attributes

Id

string required

Identifier of the project to harvest as displayed by Visual Studio. Typically this is the filename of the referenced project but can be overridden using the HarvestId metadata on the project reference. The project must be referenced by this setup project.

OutputGroups

string

By default all files from the project reference are harvested. A semicolon, comma or space delimited list of project output groups can reduce the files harvested. Common output groups include: BuiltProjectOutputGroup, BuiltProjectOutputGroupDependencies, DebugSymbolsProjectOutputGroup, DebugSymbolsProjectOutputGroupDependencies, DocumentationProjectOutputGroup, DocumentationProjectOutputGroupDependencies, SatelliteDllsProjectOutputGroup, SatelliteDllsProjectOutputGroupDependencies, SGenFilesOutputGroup, SGenFilesOutputGroupDependencies, SourceFilesProjectOutputGroup, and ContentFilesProjectOutputGroup

SelfReg

wxs:YesNoTypeUnion

Capture self-registration for executable files during harvesting. Self-reg is only attempted when the attribute is set to ‘yes’. The default is ‘no’.

SelfRegExecutableArguments

string

Command-line arguments to pass to an executable when capturing self-registration. Ignored unless SelfReg attribute is ‘yes’.

SelfRegExtensions

string

Whitespace separated list of file extensions to capture self-registration. Ignored unless SelfReg attribute is ‘yes’. Default set of extensions is: .exe, .com, .dll, .ocx, .tlb, .olb

SelfRegWarnOnError

wxs:YesNoTypeUnion

Downgrade error messages encountered during self-registration capture to warnings. Ignored unless SelfReg attribute is ‘yes’. The default is ‘no’.

Strategy

HarvestStrategyTypeUnion

Harvest strategy to apply.

SuppressFont

wxs:YesNoTypeUnion

Prevent automatically marking “.ttf” files as a font. The default is ‘no’.

Children

Parents