NuSpecBuilderAddTools Method |
Adds tools to the manifest.
Namespace: CMS.ModulesAssembly: CMS.Modules (in CMS.Modules.dll) Version: 11.0.0
Syntax public void AddTools(
string src,
string dst,
string exclude = null,
string targetFramework = null
)
Parameters
- src
- Type: SystemString
Source path to the tool file, folder with tool files, or pattern. - dst
- Type: SystemString
Relative destination path of the files within the package's tools 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.
See Also