Microsoft TechNet
This topic has not yet been rated - Rate this topic

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> /?

noteNote
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

  © 2010 Microsoft Corporation. All rights reserved.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ