NET API for GACUTIL, so now I just wrapped it in PowerShell to make it easier to use. So, I dont know about anyone else, but it is a pain to use GACUTIL on systems without the. Set-location "c:\Folder Path" :: Load ( "System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" ) $publish = New-Object $publish. PowerShell: Install-Gac (GACUTIL for PowerShell) Friday, October 31, powershell. Run the PowerShell console as Administrator. GacInstall ( "c:\Folder Path\DLL.dll" ) iisreset Remove a DLL from the GACġ. Enter the following PowerShell Set-location "c:\Folder Path" :: Load ( "System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" ) $publish = New-Object $publish. Run the Power Shell console as Administrator.Ģ. In scenarios where adding a DLL to the Windows GAC (global assembly cache) using gacutil.exe does not work, or needs to be scripted, you can use PowerShell.ġ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |