Subject:Hiding dependent assemblies
Posted by: sjm
Date:5/25/2007 2:08:38 PM
I'm writing some Sound Forge scripts, and I'd like to reference some .NET components that are in other assemblies. If I also copy those assemblies into the Script Menu folder, my script can load them without any trouble. The only problem is that those assemblies also show up in the Script Menu folder, even though they have no EntryPoint class and can't be run directly. Any suggestions on how this can best be solved? |
Subject:RE: Hiding dependent assemblies
Reply by: _TJ
Date:5/26/2007 1:24:16 PM
put your script and the dependant assemblies into a different folder, and then put a shortcut (.lnk file) to your script into the Script Menu folder. You can also use this technique to pass arguments to your script, just put the arguments into the .lnk file. tj |
Subject:RE: Hiding dependent assemblies
Reply by: sjm
Date:5/29/2007 7:31:01 AM
That's much simpler than the convoluted solutions I was considering... thanks! -steve |