glimport
Use the glimport command to import global lists from an XML file to a team project on Team Foundation Server. If you try to import a global list that already exists in the specified team project, a warning prompt asks if you want to overwrite the existing global list. If a global list does not already exist, a new one will be created.
The glimport command-line utility is located in <drive >\Program Files\Visual Studio8\Common7\IDE on Team Explorer client computer.
glimport /f filename /t tfs [/e encodingname]
Parameters
| Parameter | Description | ||
|---|---|---|---|
| /f filename | The global lists XML definition file to be imported.
| ||
| /t tfs | The computer name of the Team Foundation server from which the global lists will be imported, or a fully specified URL for a Team Foundation server. | ||
| /e encodingname | The name of a .NET Framework 2.0 encoding format. The specified encoding will be used to import the global lists XML. By default, if this argument is not specified, glimport uses UTF-8 encoding. | ||
| /? | Displays the glimport context help. |
The following example reads the file named mygloballists.xml and imports it to the Team Foundation server named AdventureWorksServer. The example imports the global lists using the default UTF-8 encoding.
>glimport /f mygloballists.xml /t AdventureWorksServer
The following example shows how to use a URL instead of a Team Foundation server name. The example imports the global lists using the default UTF-8 encoding and the default 8080 port configuration.
>glimport /f mygloballists.xml /t http://TFS:8080
The following example imports the global lists using Unicode (UTF-7) encoding.
>glimport /f mygloballists.xml /t AdventureWorksServer /e utf-7
Note