Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 help with gacutil.exe and dll path issue

Author  Topic 

rtutus
Aged Yak Warrior

522 Posts

Posted - 2007-01-11 : 15:38:50
I have this code in a VS2003 setup Project mySetup.exe that registers the TranslatorHttpHandler.dll in the GAC:

string strCmdLine;
strCmdLine = @"/C C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\gacutil.exe -i TranslatorHttpHandler.dll";
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.

rtutus
Aged Yak Warrior

522 Posts

Posted - 2007-01-18 : 09:50:45
that s not true. it doesn t copy it if it doesn t exist
Thanks a lot
Go to Top of Page
   

- Advertisement -