Differences

This shows you the differences between the selected revisions of the page.

2022-12-08 2022-12-08
AssemblyResolve (martin) checking gac contents (martin)
Line 65: Line 65:
$publish = New-Object System.EnterpriseServices.Internal.Publish $publish = New-Object System.EnterpriseServices.Internal.Publish
$publish.GacInstall("C:\path\WinSCPnet.dll") $publish.GacInstall("C:\path\WinSCPnet.dll")
-</code> An absolute path to the DLL needs to be specified and Administrator privileges are required. Otherwise the above method will fail (and the only indication of the failure is sent to Windows Event log).+</code> An absolute path to the DLL needs to be specified and Administrator privileges are required. Otherwise the above method will fail (and the only indication of the failure is sent to Windows Event log).((Check if ''C:\Windows\Microsoft.NET\assembly\GAC_MSIL\WinSCPnet'' &winpath folder containing the assembly was created.))
===== [[registering]] Registering for COM ===== ===== [[registering]] Registering for COM =====

Last modified: by martin