Trying to use C # to install the .NET 4 GAC DLL

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 #?

+3
source share
1 answer

# 4.0. .NET 4 GAC DLL #, 3.5...

, .NET 4.0, .NET 4 gac dll. , , GAC DLL, .NET framework.

+1

All Articles