CmdHelper provides some useful command line tools like:
- Installing Assemblies with their PDBs in the Global Assembly Cache (GAC)
- Removing all Assemblies from GAC that are from a specific vendor or that match a certain name pattern
- Generating the WSDL from a web service assembly (without the need to start a web server for that)
|Download:||CmdHelper_1.2.zip (19 KB)|
|Operating system:||Windows Vista or newer|
|Also see:||Version history|
Concatenates two or more XML files into one resulting XML file.
CmdHelper.exe ConcatenateXml c:\in1.xml c:\in2.xml c:\in3.xml /Out:c:\out.xml
Installs Assemblies in the GAC. If the assembly has a PDB file (in the same directory) it automatically installs that. This is a big advantage compared to gacutil, because it allows to display line numbers for assemblies in the GAC when generating a stack trace.
Install a single Assembly in GAC:
CmdHelper.exe GacInstall c:\assembly1.dll
Install all assemblies from a specific folder in the GAC:
CmdHelper.exe GacInstall c:\temp\*.dll
If the same assembly is already installed in another version, remove it:
Install all assemblies from a specific folder + it’s subfolders in the GAC and if one of the assemblies already is installed in another version, remove it:
Removes Assemblies from the GAC by specifying a specific filter criteria.
Remove all assemblies of a specific vendor:
CmdHelper.exe GacRemove /PublicKeyToken:ab12cd34ef56
Remove all assemblies the start with a specific name:
CmdHelper.exe GacRemove /AssemblyName:YourCompany.ANamespace.*
Remove all assemblies of a specific vendor and with a specific version:
CmdHelper.exe GacRemove /PublicKeyToken:ab12cd34ef56 /Version:188.8.131.52
Generates the WSDL from a web service assembly (without hosting it in a web server).
Generate the WSDL for all webservices within the assembly:
CmdHelper.exe GetWsdl /AssemblyPath:c:\myWebApp\bin\
Generate the WSDL for a specific webservice within the assembly: