help understanding gacutil.exe and the dll path issue  
Author Message
R.Tutus





PostPosted: Common Language Runtime, help understanding gacutil.exe and the dll path issue Top

I have this code in a VS2003 setup Project mySetup.exe that registers the TranslatorHttpHandler.dll in the GAC:

string strCmdLine;
;
System.Diagnostics.Process.Start("CMD.exe",strCmdLine);

Is this command going to look for the file TranslatorHttpHandler.dll in the same folder where mySetup.exe is runing.

What I don t understand, even if I rename the TranslatorHttpHandler.dll to another name the registration (setup project) runs without a problem.

Thanks a lot.




.NET Development30  
 
 
Mattias Sjogren





PostPosted: Common Language Runtime, help understanding gacutil.exe and the dll path issue Top

Why are you invoking Gacutil Setup projects have built in ability to add assemblies to the GAC, don't they



 
 
R.Tutus





PostPosted: Common Language Runtime, help understanding gacutil.exe and the dll path issue Top

do you mean even in 2003 version if so i should change the setup then

Thanks



 
 
PhilWilson





PostPosted: Common Language Runtime, help understanding gacutil.exe and the dll path issue Top

In the File System view in the setup project you can right-click on that file system node and Add Special Folder - the GAC is one you can add.

 
 
R.Tutus





PostPosted: Common Language Runtime, help understanding gacutil.exe and the dll path issue Top

I ll create a setup project then I only had an exe and i shipped the dll with it

Thanks a lot.