I am using the .ps1 script to register the .NET 4.0 assembly set in the GAC on the Win 2008 R2 release server. Nodes have strong names, and the script does not return errors :
[Reflection.Assembly]::LoadWithPartialName("System.EnterpriseServices");
[System.EnterpriseServices.Internal.Publish] $publish = New-Object System.EnterpriseServices.Internal.Publish;
$publish.GacInstall("D:\MyComponents\EZTrac.Domain.Dealer.dll")
After starting, I look at GAC_MSIL (where it should be) and then GAC_32 and GAC_64 for a good grade, but it’s not in any of them.
I used this post as a guide. Any idea what I forget here?
source
share