Editar

Partilhar via


AddResource Command

The topics in this section provide reference information about the parameters of the AddResource command. The parameters that you use with this command vary according to the type of artifact that you want to add. To obtain complete lists of artifact types, use the ListTypes command, as described in ListTypes Command.

To get help for adding a particular artifact type, type the following command:

BTSTask AddResource /Type:<type name> /?

Note

If the artifact you are adding has a very long path name, including the file name, the operation to add the artifact to an application may fail. A path cannot exceed 260 characters.

If an add operation fails, all actions taken during the operation are rolled back, except that assemblies are not removed from the global assembly cache if they were added by this command, and entries are not removed from the Windows registry if any entries were made.

In This Section