Table of Contents

Class ContentFilesEntry

Namespace
NuGet.Packaging.Core
Assembly
Chocolatey.NuGet.Packaging.dll

metadata/contentFiles/files entry from a nuspec

public class ContentFilesEntry
Inheritance
ContentFilesEntry
Inherited Members

Constructors

ContentFilesEntry(string, string, string, bool?, bool?)

public ContentFilesEntry(string include, string exclude, string buildAction, bool? copyToOutput, bool? flatten)

Parameters

include string
exclude string
buildAction string
copyToOutput bool?
flatten bool?

Properties

BuildAction

Build action

public string BuildAction { get; }

Property Value

string

CopyToOutput

If true the item will be copied to the output folder.

public bool? CopyToOutput { get; }

Property Value

bool?

Exclude

Excluded files

public string Exclude { get; }

Property Value

string

Flatten

If true the content items will keep the same folder structure in the output folder.

public bool? Flatten { get; }

Property Value

bool?

Include

Included files

public string Include { get; }

Property Value

string

Remarks

Required