NuSpecBuilderAddContent Method |
Adds a content to the manifest.
Namespace: CMS.ModulesAssembly: CMS.Modules (in CMS.Modules.dll) Version: 11.0.0
Syntax public void AddContent(
string src,
string dst,
string exclude = null,
string targetFramework = null
)
Parameters
- src
- Type: SystemString
Source path to the content file, folder with content files, or pattern. - dst
- Type: SystemString
Relative destination path of the content within the package's content folder. Null or empty string means root. - exclude (Optional)
- Type: SystemString
Excluded files from src (when src is not a single file) - targetFramework (Optional)
- Type: SystemString
Target framework for the content (i.e. "net40", "net45"). Supported in NuGet version 2.0 and above.
Remarks http://docs.nuget.org/docs/reference/nuspec-reference#Content_Files
See Also