Documentation Center

Configuring the upload of .NET assemblies

The TCMUploadAssembly command-line tool requires a configuration file. You can create, or update, the file using the executable. You can override the configuration using command line options.

About this task

If you are uploading to a 32-bit system, some additional configuration is required.

Procedure

  1. On the Windows command line prompt, enter the following command and press Enter:
    TCMUploadAssembly.exe config.xml

    where config.xml is the name of the configuration file you wish to create or update. The tool prompts you for the following configuration parameters:

    URL
    the Web address of the Content Manager Explorer Web site.
    user name
    the name of a user that is authorized to access this Web service. This prompt only appears if the system cannot log you on automatically.
    password
    the password of that user, authorizing the user to access this Web service. This prompt only appears if the system cannot log you on automatically.
    Upload PDB along with assembly
    if set to true, also uploads a .pdb (Program Database) file, containing debug information, associated with the assembly. Visual Studio can create .pdb files when it generates an assembly.
    If this switch is set to true, TCMUploadAssembly.exe looks for the .pdb file in the directory that is configured in the Content Manager configuration file. This directory defaults to the temp\ subfolder of %TRIDION_HOME%). To change this directory, on the Content Manager server machine, access the config/ subdirectory of the Content Manager root location, and in it, open the file Tridion.ContentManager.config in a plain-text or XML editor. In the file, locate the <tridion.templating> section and within this element, the <debugging> element. Set this element's pdbDirectory attribute to the directory of your choice, and save and close the file.
    Note that the user NT AUTHORITY\NETWORK SERVICE (or its French or German equivalent on a French or German operating system) must have access to this directory (whether you change it or not).

    If you are creating this configuration file for the first time, pressing Enter for the user name and password causes the configuration to use your current context user name and password.

    If you are updating an existing configuration file, press Enter for any parameter that you do not wish to modify.

  2. Enter values for the parameters where needed.

Results

The command-line tool creates or updates a configuration file.