PDA

View Full Version : unGAC


Steve Brown
02-08-2005, 11:18 AM
I'm trying to remove fromt the GAC all the files in a particular folder. I use process files to select all the dlls in the folder. Then as a Child step I use the PROCFILES_FILENAME to unGac the file. But I get No file name matches. 0 files removed. I know the file is in the GAC. I think GACutil requires the filename without the ext.
How can I successfully remove these files from the GAC.

Thanks

kinook
02-08-2005, 03:43 PM
When removing from the GAC, you need to specify a partially or fully specified assembly name. If the dll filename matches the assembly name, using

[vbld_FSO().GetBaseName("%PROCFILES_FILENAME%")]

would give the name w/out path or extension.