Deprecated: Implicit conversion from float 1.1818181818181819 to int loses precision in /var/www/wp-content/mu-plugins/wp-login.php on line 13

Deprecated: Implicit conversion from float 1.074074074074074 to int loses precision in /var/www/wp-content/mu-plugins/wp-login.php on line 13

Deprecated: Implicit conversion from float 1.1818181818181819 to int loses precision in /var/www/wp-content/mu-plugins/wp-login.php on line 13
Deploy DLL to GAC through PowerShell – ridhvi.in
Close

Deploy DLL to GAC through PowerShell

Below snippet helps to Deploy a specific DLL to GAC and reset IIS.

$folderLocationName = read-host "Please enter the {your}.dll folder Location:"

Set-location $folderLocationName
[System.Reflection.Assembly]::Load("System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
$publish = New-Object System.EnterpriseServices.Internal.Publish
$publish.GacInstall($folderLocationName+"\{yout}.dll")
iisreset
Read-Host -Prompt “Press Enter to exit”
© 2024 ridhvi.in | WordPress Theme: Annina Free by CrestaProject.