Uptil we now used C # to install the GAC DLL in the GAC without any problems.
System.EnterpriseServices.Internal.Publish p =
new System.EnterpriseServices.Internal.Publish();
p.GacInstall(filePath);
However, we tried to use the same code to install the .NET 4.0 GAC DLL. It does not give any errors and says that the GAC is installed.
However, when I look at the folder C:\WINDOWS\Microsoft.NET\assembly, I do not see the installed GAC. Also, when I look at the event viewer on the server, it shows me a warning
"Source: COM + SOAP Services Installation failed in global assembly: <GACDLL_PATH>
Is it possible to somehow install a DLL.NET 4.0 GAC into a GAC ββprogram using C #?
source
share