Click or drag to resize
NuSpecBuilderAddLibrary Method
Adds a library to the manifest. The library can be either framework specific, or not.

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 11.0.0
Syntax
C#
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