Documentation Center

Running the Upload Assembly tool

Run the TCMUploadAssembly command-line executable to upload a .NET assembly to the Content Manager. You can specify parameters to override configuration settings.

About this task

Procedure

  1. Open a command line prompt.
  2. Run the command-line tool as follows:
    TCMUploadAssembly.exe config.xml myAssembly.dll

    where config.xml is the name of your configuration file, and myAssembly.dll (which may also contain a path) is the name of your .NET assembly.

  3. Override the values in the configuration file and/or the assembly by specifying the following parameters:
    /folder:<tcmuri>
    Save the Template Building Block containing the .NET assembly to a Folder with the Content Manager URI (unique identifier) called <tcmuri>.
    /bundle:<tcmuri>
    (optional) Add the Template Building Block containing the .NET assembly to a Bundle with the Content Manager URI called <tcmuri>.
    /targeturl:<webserviceurl>
    provide a different URL (<webserviceurl>) for the Web service.
    /username:<nameofuser>
    Provide a different user name to connect to the Web service.
    /password:<password>
    Provide a different password when connecting to the Web service.
    /verbose
    Show extra debug information.
    /uploadpdb:<true|false>
    Upload or not upload a file with debug information (a .pdb file) along with the assembly.
    /timeout:<seconds>
    Explicitly set the amount of time, in seconds, that SDL Tridion Sites allows for the uploading of the assembly. If omitted, this setting defaults to 100 seconds.