NuSpecBuilderAddLibrary Method |
Adds a library to the manifest.
The library can be either framework specific, or not.
Namespace: CMS.ModulesAssembly: CMS.Modules (in CMS.Modules.dll) Version: 13.0.131
Syntax public void AddLibrary(
string src,
string dst,
string exclude = null,
string targetFramework = null
)
Parameters
- src
- Type: SystemString
Source path to the library, folder with libraries, or pattern. - dst
- Type: SystemString
Relative destination path of the library within the package's lib folder. Null or empty string means root. - exclude (Optional)
- Type: SystemString
Excluded files from src (when src is not a single library) - targetFramework (Optional)
- Type: SystemString
Target framework for the library (i.e. "net40", "net45").
Remarks http://docs.nuget.org/docs/reference/nuspec-reference#Set_Of_DLLs
See Also