<vssadd>

[This is preliminary documentation and subject to change.]

Used to add files to a Visual SourceSafe database. If the file is currently in the SourceSafe database a message will be logged but files will continue to be added.

This version does not support recursive adds. Only adds in the root directory will be added to the SourceSafe database.

Parameters

AttributeTypeDescriptionRequired
commentstring Places a comment on all files added into the SourceSafe repository. False
dbpathfile The path to the folder that contains "srcsafe.ini". True
pathstring The Visual SourceSafe project or file path you wish the perform the action on (starting with "$/"). True
failonerrorbool Determines if task failure stops the build, or is just reported. The default is true. False
ifbool If true then the task will be executed; otherwise, skipped. The default is true. False
passwordstring The password to use to login to the SourceSafe database. False
unlessbool Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. False
userstringDeprecated. The name of the user needed to access the Visual SourceSafe database. When no username is specified and "Use network name for automatic user log in" is enabled, then the current Windows username will be used to log in. False
usernamestring The name of the user needed to access the Visual SourceSafe database. When no username is specified and "Use network name for automatic user log in" is enabled for the Visual SourceSafe database, then the current Windows username will be used to log in. False
verbosebool Determines whether the task should report detailed build log messages. The default is false. False
versionstring A version of the path to reference. Accepts multiple forms, including the label, version number, or date of the version. If omitted, the latest version is used. False

Nested Elements:

<fileset>

List of files that should be added to SourceSafe.

</fileset>

Examples

Requirements

Assembly: NAnt.Contrib.Tasks (0.92.4526.0)