Running the upload

To actually upload the assembly to the Content Manager, 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.

You can override the values in the configuration file and/or the assembly by specifying the following parameters:

  • /folder:<tcmuri> to save the Template Building Block containing the .NET assembly to a Folder with the Content Manager URI (unique identifier) called <tcmuri>.
  • /targeturl:<webserviceurl> to provide a different URL (<webserviceurl> ) for the Web service.
  • /username:<nameofuser> to provide a different user name to connect to the Web service.
  • /password:<password> to provide a different password when connecting to the Web service.
  • /verbose to show extra debug information.
  • /uploadpdb:<true|false> to upload or not upload a file with debug information (a .pdb file) along with the assembly.
  • /timeout:<seconds> to explicitly set the amount of time, in seconds, that SDL Tridion allows for the uploading of the assembly. If omitted, this setting defaults to 100 seconds.